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/GLCanvas3D.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/GLCanvas3D.cpp')
-rw-r--r-- | src/slic3r/GUI/GLCanvas3D.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/slic3r/GUI/GLCanvas3D.cpp b/src/slic3r/GUI/GLCanvas3D.cpp index 25319e9ce..2f265eb92 100644 --- a/src/slic3r/GUI/GLCanvas3D.cpp +++ b/src/slic3r/GUI/GLCanvas3D.cpp @@ -3312,6 +3312,9 @@ void GLCanvas3D::handle_sidebar_focus_event(const std::string& opt_key, bool foc void GLCanvas3D::update_ui_from_settings() { + m_camera.set_type(wxGetApp().app_config->get("use_perspective_camera")); + m_dirty = true; + #if ENABLE_RETINA_GL const float orig_scaling = m_retina_helper->get_scale_factor(); |