mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-15 18:58:00 -06:00
Fixed SLA supports gizmo undo/redo stack
broken by 4f43c6d
even before 2.2.0 release
This commit is contained in:
parent
377c7d3086
commit
0c84a0b696
2 changed files with 4 additions and 5 deletions
|
@ -66,11 +66,10 @@ void GLGizmoSlaSupports::set_sla_support_data(ModelObject* model_object, const S
|
|||
|
||||
ModelObject* mo = m_c->selection_info()->model_object();
|
||||
|
||||
if (mo != m_old_mo) {
|
||||
if (mo && mo->id() != m_old_mo_id) {
|
||||
disable_editing_mode();
|
||||
if (mo)
|
||||
reload_cache();
|
||||
m_old_mo = mo;
|
||||
reload_cache();
|
||||
m_old_mo_id = mo->id();
|
||||
}
|
||||
|
||||
// If we triggered autogeneration before, check backend and fetch results if they are there
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue