Fixed SLA supports gizmo undo/redo stack

broken by 4f43c6d even before 2.2.0 release
This commit is contained in:
Lukas Matena 2020-04-30 15:12:59 +02:00
parent 377c7d3086
commit 0c84a0b696
2 changed files with 4 additions and 5 deletions

View file

@ -83,7 +83,7 @@ private:
float m_density_stash = 0.f; // and again
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
const ModelObject* m_old_mo = nullptr;
ObjectID m_old_mo_id;
// 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.