1) Perspective camera set as default camera type

2) Camera type selection added to Preferences dialog
This commit is contained in:
Enrico Turri 2019-06-24 15:55:14 +02:00
parent 5320ed9374
commit 992170c5f6
8 changed files with 30 additions and 16 deletions

View file

@ -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();