Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEnrico Turri <enricoturri@seznam.cz>2019-06-20 12:05:05 +0300
committerEnrico Turri <enricoturri@seznam.cz>2019-06-20 12:05:05 +0300
commite5be8adadf72e0f283a602a412c31eda564d8b2e (patch)
tree92b46c02ce573661fe677d2c63d599afe813647f /src/slic3r/GUI/Camera.hpp
parentb7f67369c99cf204d8071b1d42abc3c2704f1d82 (diff)
Fixed build on MacOS
Diffstat (limited to 'src/slic3r/GUI/Camera.hpp')
-rw-r--r--src/slic3r/GUI/Camera.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/slic3r/GUI/Camera.hpp b/src/slic3r/GUI/Camera.hpp
index a64b194f3..6a2f65a30 100644
--- a/src/slic3r/GUI/Camera.hpp
+++ b/src/slic3r/GUI/Camera.hpp
@@ -57,9 +57,9 @@ public:
double get_zoom() const { return m_zoom; }
void set_zoom(double zoom, const BoundingBoxf3& max_box, int canvas_w, int canvas_h);
-#if ENABLE_RETINA_GL
+ // this method does not check if the given zoom is valid, use instead the other set_zoom() method
+ // called only by: void GLCanvas3D::update_ui_from_settings()
void set_zoom(double zoom) { m_zoom = zoom; }
-#endif // ENABLE_RETINA_GL
const BoundingBoxf3& get_scene_box() const { return m_scene_box; }
void set_scene_box(const BoundingBoxf3& box) { m_scene_box = box; }