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

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbubnikv <bubnikv@gmail.com>2018-07-17 10:37:38 +0300
committerbubnikv <bubnikv@gmail.com>2018-07-17 10:37:38 +0300
commit83f9813f56f1770a1e41a04756941794fa44b227 (patch)
tree426290b979e8f8b809125f5dd4f54650650ac1da /xs/src/libslic3r/Model.hpp
parentc7f59aca7deaf6ed24ad4ddfa35aba554f0a6372 (diff)
parent4805df603796e5a3a06aeb922112797f105c104d (diff)
Merge remote-tracking branch 'remotes/origin/opengl_to_cpp'
Diffstat (limited to 'xs/src/libslic3r/Model.hpp')
-rw-r--r--xs/src/libslic3r/Model.hpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/xs/src/libslic3r/Model.hpp b/xs/src/libslic3r/Model.hpp
index 3337f4d9a..5003f8330 100644
--- a/xs/src/libslic3r/Model.hpp
+++ b/xs/src/libslic3r/Model.hpp
@@ -103,10 +103,7 @@ public:
// Returns the bounding box of the transformed instances.
// This bounding box is approximate and not snug.
// This bounding box is being cached.
-//========================================================================================================
const BoundingBoxf3& bounding_box() const;
-// const BoundingBoxf3& bounding_box();
-//========================================================================================================
void invalidate_bounding_box() { m_bounding_box_valid = false; }
// Returns a snug bounding box of the transformed instances.
// This bounding box is not being cached.
@@ -148,10 +145,9 @@ private:
// Parent object, owning this ModelObject.
Model *m_model;
// Bounding box, cached.
-//========================================================================================================
+
mutable BoundingBoxf3 m_bounding_box;
mutable bool m_bounding_box_valid;
-//========================================================================================================
};
// An object STL, or a modifier volume, over which a different set of parameters shall be applied.