mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-22 22:24:01 -06:00
SLA gizmo now does not make redundant copies of the object and supports meshes
This commit is contained in:
parent
f33e9bf609
commit
63ce3c3150
3 changed files with 16 additions and 12 deletions
|
@ -36,8 +36,8 @@ private:
|
|||
Eigen::MatrixXf m_V; // vertices
|
||||
Eigen::MatrixXi m_F; // facets indices
|
||||
igl::AABB<Eigen::MatrixXf,3> m_AABB;
|
||||
TriangleMesh m_mesh;
|
||||
mutable TriangleMesh m_supports_mesh;
|
||||
const TriangleMesh* m_mesh;
|
||||
mutable const TriangleMesh* m_supports_mesh;
|
||||
mutable std::vector<Vec2f> m_triangles;
|
||||
mutable std::vector<Vec2f> m_supports_triangles;
|
||||
mutable int m_old_timestamp = -1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue