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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user