Gui: fix NaviCube in split views (fixes #9500)

* initialize base and hilite color with more sensible default values
* handle case if no font name is set
* apply user preferences to NaviCube
This commit is contained in:
wmayer
2023-05-08 10:03:36 +02:00
committed by wwmayer
parent 6765afd12b
commit 6f8e3f374f
3 changed files with 22 additions and 5 deletions

View File

@@ -110,6 +110,12 @@ void AbstractSplitView::setupSettings()
viewSettings->ignoreRenderCache = true;
viewSettings->ignoreDimensions = true;
viewSettings->applySettings();
for (auto view : _viewer) {
NaviCubeSettings naviSettings(App::GetApplication().GetParameterGroupByPath
("User parameter:BaseApp/Preferences/NaviCube"), view);
naviSettings.applySettings();
}
}
View3DInventorViewer* AbstractSplitView::getViewer(unsigned int n) const