mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-20 11:53:48 +00:00
Take a single undo/redo snapshot when pasting from clipboard
This commit is contained in:
@@ -4719,7 +4719,7 @@ void Plater::paste_from_clipboard()
|
|||||||
if (!can_paste_from_clipboard())
|
if (!can_paste_from_clipboard())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
this->take_snapshot(_(L("Paste From Clipboard")));
|
Plater::TakeSnapshot snapshot(this, _(L("Paste From Clipboard")));
|
||||||
p->view3D->get_canvas3d()->get_selection().paste_from_clipboard();
|
p->view3D->get_canvas3d()->get_selection().paste_from_clipboard();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user