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