Follow-up of 3abc71fa15
- Fixed call to trigger undo/redo snapshot
This commit is contained in:
parent
3abc71fa15
commit
f908197a77
1 changed files with 1 additions and 1 deletions
|
@ -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];
|
||||
|
|
Loading…
Reference in a new issue