FreeCAD/FreeCAD

Core: Setting `View3DInventorViewerPy.setEnabledNaviCube` does not redraw the view

Open

#19,000 创建于 2025年1月11日

在 GitHub 查看
 (1 评论) (0 反应) (0 负责人)C++ (5,550 fork)batch import
Help wantedMod: CoreTopic: NavigationTopic: User InterfaceType: Feature

仓库指标

Star
 (30,913 star)
PR 合并指标
 (平均合并 24天 7小时) (30 天内合并 217 个 PR)

描述

Is there an existing issue for this?

  • I have searched the existing issues

Problem description

Steps to reproduce:

view = Gui.createViewer()
view.getViewer().setEnabledNaviCube(False)

I would expect the navi cube to disappear but the view is not redrawn, it only takes effect whem the view is interacted with, like a zoom or switching away/into it.

image

Full version info

OS: Linux Mint 22 (X-Cinnamon/cinnamon/xcb)
Architecture: x86_64
Version: 1.1.0dev.39747 +13 (Git)
Build type: Debug
Branch: next
Hash: 69803543bc27d0b2c961bbfa9ce2ccdb8fafc952
Python 3.12.3, Qt 5.15.13, Coin 4.0.3, Vtk , OCC 7.6.3
Locale: English/United States (en_US)
Stylesheet/Theme/QtStyle: unset/FreeCAD Classic/Qt default

Subproject(s) affected?

Core

Anything else?

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

贡献者指南