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

@ -70,13 +70,9 @@ private:
float m_closing_d_stash = 2.f;
Vec3f m_hole_before_drag = Vec3f::Zero();
sla::DrainHoles m_holes_stash;
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.