mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-16 03:07:55 -06:00
SLA gizmo and undo/redo: 'autogenerated points' state is now correctly undone/redone
This commit is contained in:
parent
0a5f8aa2e8
commit
0ae46b0635
2 changed files with 30 additions and 12 deletions
|
@ -98,6 +98,8 @@ private:
|
|||
float m_new_point_head_diameter; // Size of a new point.
|
||||
float m_minimal_point_distance = 20.f;
|
||||
mutable std::vector<CacheEntry> m_editing_mode_cache; // a support point and whether it is currently selected
|
||||
std::vector<CacheEntry> m_old_cache; // to restore after discarding changes or undo/redo
|
||||
|
||||
float m_clipping_plane_distance = 0.f;
|
||||
mutable float m_old_clipping_plane_distance = 0.f;
|
||||
mutable Vec3d m_old_clipping_plane_normal;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue