Set RoundedArcball as default orbit style.

Reorder status bar entries.
This commit is contained in:
Max Wilfinger
2025-05-02 15:14:18 +02:00
committed by Chris Hennes
parent e4b301a048
commit 3fcadd01f5
7 changed files with 19 additions and 18 deletions

View File

@@ -292,7 +292,7 @@ private:
private:
SbMatrix worldToScreen;
OrbitStyle orbit{Trackball};
OrbitStyle orbit{RoundedArcball};
};
NavigationStyleEvent::NavigationStyleEvent(const Base::Type& s)
@@ -385,7 +385,7 @@ void NavigationStyle::initialize()
this->zoomStep = App::GetApplication().GetParameterGroupByPath
("User parameter:BaseApp/Preferences/View")->GetFloat("ZoomStep",0.2f);
long mode = App::GetApplication().GetParameterGroupByPath
("User parameter:BaseApp/Preferences/View")->GetInt("RotationMode", 1);
("User parameter:BaseApp/Preferences/View")->GetInt("RotationMode", 0);
if (mode == 0) {
setRotationCenterMode(NavigationStyle::RotationCenterMode::WindowCenter);
}