Customizable use of 6 dof camera

This commit is contained in:
Enrico Turri 2020-01-16 09:12:36 +01:00
parent 62e60bcb43
commit 9df7eb4e08
5 changed files with 33 additions and 5 deletions
src/slic3r/GUI

View file

@ -124,6 +124,15 @@ void PreferencesDialog::build()
option = Option(def, "use_perspective_camera");
m_optgroup->append_single_option_line(option);
#if ENABLE_6DOF_CAMERA
def.label = L("Use free camera");
def.type = coBool;
def.tooltip = L("If enabled, use free camera. If not enabled, use constrained camera.");
def.set_default_value(new ConfigOptionBool(app_config->get("use_free_camera") == "1"));
option = Option(def, "use_free_camera");
m_optgroup->append_single_option_line(option);
#endif // ENABLE_6DOF_CAMERA
def.label = L("Use custom size for toolbar icons");
def.type = coBool;
def.tooltip = L("If enabled, you can change size of toolbar icons manually.");