diff options
author | Enrico Turri <enricoturri@seznam.cz> | 2019-07-18 15:39:19 +0300 |
---|---|---|
committer | Enrico Turri <enricoturri@seznam.cz> | 2019-07-18 15:39:19 +0300 |
commit | f61d43de07ae973e701a5c516be344b251d44bfb (patch) | |
tree | 5081e7810a8ba44c1b64b15cc9ebba0980b2dffd /src/slic3r/GUI/3DBed.hpp | |
parent | af3cb890d151fd3828022e98200bdbb25ba4d207 (diff) |
Render custom bed textures in svg format 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 6c8913a9b..186282997 100644 --- a/src/slic3r/GUI/3DBed.hpp +++ b/src/slic3r/GUI/3DBed.hpp @@ -87,6 +87,7 @@ public: private: EType m_type; Pointfs m_shape; + std::string m_custom_texture; mutable BoundingBoxf3 m_bounding_box; mutable BoundingBoxf3 m_extended_bounding_box; Polygon m_polygon; @@ -122,7 +123,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); + bool set_shape(const Pointfs& shape, const std::string& custom_texture); const BoundingBoxf3& get_bounding_box(bool extended) const { return extended ? m_extended_bounding_box : m_bounding_box; } bool contains(const Point& point) const; |