FIX: clone operation snapshot issue

Jira: STUDIO-4015

Change-Id: I6cecc67653ecf94bc550bb86f699f223fade4c4d
This commit is contained in:
liz.li authored and Lane.Wei committed 2023-11-01 09:33:21 +08:00
1 parent 588723a854
commit 453662647e
1 file changed
+1 -1
+1 -1
View File
@@ -459,7 +459,7 @@ void Selection::remove_curr_plate()
void Selection::clone(int numbers)
{
if (numbers > 0)
wxGetApp().plater()->take_snapshot(std::string("Selection-clone!"));
wxGetApp().plater()->take_snapshot(std::string("Selection-clone"));
for (int i = 0; i < numbers; i++) {
copy_to_clipboard();
paste_from_clipboard();