diff options
author | Enrico Turri <enricoturri@seznam.cz> | 2019-06-24 16:55:14 +0300 |
---|---|---|
committer | Enrico Turri <enricoturri@seznam.cz> | 2019-06-24 16:55:14 +0300 |
commit | 992170c5f66e1bc823c03a26ad43af8b03d188d3 (patch) | |
tree | 278323f8cf35e563ab8472e84ea27cfd81d88cc4 /src/slic3r/GUI/Plater.cpp | |
parent | 5320ed9374d4559ac0fcc5a299bd79018ed9a1cb (diff) |
1) Perspective camera set as default camera type
2) Camera type selection added to Preferences dialog
Diffstat (limited to 'src/slic3r/GUI/Plater.cpp')
-rw-r--r-- | src/slic3r/GUI/Plater.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/slic3r/GUI/Plater.cpp b/src/slic3r/GUI/Plater.cpp index f68267cef..9d0c979b6 100644 --- a/src/slic3r/GUI/Plater.cpp +++ b/src/slic3r/GUI/Plater.cpp @@ -1774,7 +1774,7 @@ Plater::priv::priv(Plater *q, MainFrame *main_frame) set_current_panel(view3D); // updates camera type from .ini file - camera.set_type(get_config("camera_type")); + camera.set_type(get_config("use_perspective_camera")); } void Plater::priv::update(bool force_full_scene_refresh) @@ -1842,10 +1842,8 @@ void Plater::priv::update_ui_from_settings() // $self->{buttons_sizer}->Layout; // } -#if ENABLE_RETINA_GL view3D->get_canvas3d()->update_ui_from_settings(); preview->get_canvas3d()->update_ui_from_settings(); -#endif } ProgressStatusBar* Plater::priv::statusbar() |