setting defaults for zoom invert and zoom step for Werners fix of #894

- inverse is now default
- 0.2 is zoom step default
expecting lots of flaming :)
This commit is contained in:
jriegel
2012-12-20 19:49:17 +01:00
parent b2930647b9
commit 6e8828fc43
3 changed files with 8 additions and 5 deletions

View File

@@ -226,11 +226,11 @@ void NavigationStyle::initialize()
this->shiftdown = FALSE;
this->altdown = FALSE;
this->invertZoom = App::GetApplication().GetParameterGroupByPath
("User parameter:BaseApp/Preferences/View")->GetBool("InvertZoom",false);
("User parameter:BaseApp/Preferences/View")->GetBool("InvertZoom",true);
this->zoomAtCursor = App::GetApplication().GetParameterGroupByPath
("User parameter:BaseApp/Preferences/View")->GetBool("ZoomAtCursor",false);
this->zoomStep = App::GetApplication().GetParameterGroupByPath
("User parameter:BaseApp/Preferences/View")->GetFloat("ZoomStep",0.05f);
("User parameter:BaseApp/Preferences/View")->GetFloat("ZoomStep",0.2f);
}
void NavigationStyle::finalize()