Don't create multiple undo steps when pasting.

pull/4/head
EvilSpirit 2016-03-25 14:57:59 +06:00 committed by whitequark
parent 3d334d153d
commit 614902ebdd
1 changed files with 1 additions and 1 deletions

View File

@ -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();