Clipping plane is now common for Hollowing and SLA supports gizmos

This commit is contained in:
Lukas Matena 2020-01-31 15:54:16 +01:00
parent f28d0ebc18
commit 79da3a95e1
6 changed files with 73 additions and 55 deletions

View file

@ -103,8 +103,7 @@ private:
mutable std::vector<CacheEntry> m_editing_cache; // a support point and whether it is currently selected
std::vector<sla::SupportPoint> m_normal_cache; // to restore after discarding changes or undo/redo
float m_clipping_plane_distance = 0.f;
std::unique_ptr<ClippingPlane> m_clipping_plane;
//std::unique_ptr<ClippingPlane> m_clipping_plane;
// This map holds all translated description texts, so they can be easily referenced during layout calculations
// etc. When language changes, GUI is recreated and this class constructed again, so the change takes effect.