mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-05 15:00:40 +08:00
Follow-up of 3abc71fa15972e333f334fa3ff69ed9978a88cac - Fixed call to trigger undo/redo snapshot
This commit is contained in:
parent
3abc71fa15
commit
f908197a77
@ -3207,7 +3207,7 @@ bool Plater::priv::replace_volume_with_stl(int object_idx, int volume_idx, const
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!snapshot.empty())
|
if (!snapshot.empty())
|
||||||
Plater::TakeSnapshot snapshot(q, snapshot);
|
q->take_snapshot(snapshot);
|
||||||
|
|
||||||
ModelObject* old_model_object = model.objects[object_idx];
|
ModelObject* old_model_object = model.objects[object_idx];
|
||||||
ModelVolume* old_volume = old_model_object->volumes[volume_idx];
|
ModelVolume* old_volume = old_model_object->volumes[volume_idx];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user