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/GUI_Preview.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/GUI_Preview.cpp')
-rw-r--r-- | src/slic3r/GUI/GUI_Preview.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/slic3r/GUI/GUI_Preview.cpp b/src/slic3r/GUI/GUI_Preview.cpp index 2f5e10962..671c49eef 100644 --- a/src/slic3r/GUI/GUI_Preview.cpp +++ b/src/slic3r/GUI/GUI_Preview.cpp @@ -313,6 +313,12 @@ Preview::~Preview() } } +void Preview::set_as_dirty() +{ + if (m_canvas != nullptr) + m_canvas->set_as_dirty(); +} + void Preview::set_number_extruders(unsigned int number_extruders) { if (m_number_extruders != number_extruders) |