From 614902ebddc7e9d0bcb1b8cd8282d4031c4d740f Mon Sep 17 00:00:00 2001 From: EvilSpirit Date: Fri, 25 Mar 2016 14:57:59 +0600 Subject: [PATCH] Don't create multiple undo steps when pasting. --- src/clipboard.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/clipboard.cpp b/src/clipboard.cpp index d49f89e2..a6be4200 100644 --- a/src/clipboard.cpp +++ b/src/clipboard.cpp @@ -201,7 +201,7 @@ void GraphicsWindow::PasteClipboard(Vector trans, double theta, double scale) { c.other2 = cc->other2; c.reference = cc->reference; c.disp = cc->disp; - Constraint::AddConstraint(&c); + Constraint::AddConstraint(&c, /*rememberForUndo=*/false); } SS.ScheduleGenerateAll();