diff options
author | Enrico Turri <enricoturri@seznam.cz> | 2019-07-24 15:02:36 +0300 |
---|---|---|
committer | Enrico Turri <enricoturri@seznam.cz> | 2019-07-24 15:02:36 +0300 |
commit | 1483a7fd51dcbafd7ece744efb5c420eb68bf393 (patch) | |
tree | 20f4ddc9cdc7597db5ac4ff747fdb306d80c7307 /src/slic3r/GUI/3DBed.hpp | |
parent | 395e794b9e6bc2d429caa71089a447773b51c96e (diff) |
Render custom bed model on prusa beds
Diffstat (limited to 'src/slic3r/GUI/3DBed.hpp')
-rw-r--r-- | src/slic3r/GUI/3DBed.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/slic3r/GUI/3DBed.hpp b/src/slic3r/GUI/3DBed.hpp index 71b319b0a..3571166da 100644 --- a/src/slic3r/GUI/3DBed.hpp +++ b/src/slic3r/GUI/3DBed.hpp @@ -75,6 +75,7 @@ private: EType m_type; Pointfs m_shape; std::string m_custom_texture; + std::string m_custom_model; mutable BoundingBoxf3 m_bounding_box; mutable BoundingBoxf3 m_extended_bounding_box; Polygon m_polygon; @@ -103,7 +104,7 @@ public: const Pointfs& get_shape() const { return m_shape; } // Return true if the bed shape changed, so the calee will update the UI. - bool set_shape(const Pointfs& shape, const std::string& custom_texture); + bool set_shape(const Pointfs& shape, const std::string& custom_texture, const std::string& custom_model); const BoundingBoxf3& get_bounding_box(bool extended) const { return extended ? m_extended_bounding_box : m_bounding_box; } bool contains(const Point& point) const; |