diff options
author | Enrico Turri <enricoturri@seznam.cz> | 2020-01-29 16:44:03 +0300 |
---|---|---|
committer | Enrico Turri <enricoturri@seznam.cz> | 2020-01-29 16:44:03 +0300 |
commit | da3cb30b7cc3106d8f0b7e0e176eac3fac32f3a2 (patch) | |
tree | 145ac8a9ba3f0ae06f4c303423f1bb3c419c3007 /src/slic3r/GUI/Camera.hpp | |
parent | 7156ed998727a32827af938d048e0f14c06ada6e (diff) |
Follow-up of 17a6b696e7a4b94d49e09b8598b0343a3c2ddd40 -> Fixed build when tech ENABLE_6DOF_CAMERA is disabled
Diffstat (limited to 'src/slic3r/GUI/Camera.hpp')
-rw-r--r-- | src/slic3r/GUI/Camera.hpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/slic3r/GUI/Camera.hpp b/src/slic3r/GUI/Camera.hpp index a1c42a0c6..b0a646ebf 100644 --- a/src/slic3r/GUI/Camera.hpp +++ b/src/slic3r/GUI/Camera.hpp @@ -146,10 +146,9 @@ public: // returns true if the camera z axis (forward) is pointing in the negative direction of the world z axis bool is_looking_downward() const { return get_dir_forward().dot(Vec3d::UnitZ()) < 0.0; } - +#endif // ENABLE_6DOF_CAMERA double max_zoom() const { return 100.0; } double min_zoom() const; -#endif // ENABLE_6DOF_CAMERA private: // returns tight values for nearZ and farZ plane around the given bounding box |