mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-14 19:35:57 +08:00
Take a single undo/redo snapshot when pasting from clipboard
This commit is contained in:
parent
eefd950e16
commit
9593da2613
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user