SlaSupports gizmo - show holes position even when user did not Preview the drilled mesh

This commit is contained in:
Lukas Matena 2020-02-04 12:18:57 +01:00
parent 49c5822be4
commit 58b5e75a9c
3 changed files with 9 additions and 4 deletions

View file

@ -227,10 +227,13 @@ public:
m_clipping_plane_distance = m_clipping_plane_distance_stash;
}
bool has_drilled_mesh() const { return m_has_drilled_mesh; }
private:
const TriangleMesh* m_old_mesh;
TriangleMesh m_backend_mesh_transformed;
float m_clipping_plane_distance_stash = 0.f;
bool m_has_drilled_mesh = false;
};
} // namespace GUI