Don't create multiple undo steps when pasting.
This commit is contained in:
parent
3d334d153d
commit
614902ebdd
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user