Don't create multiple undo steps when pasting.
parent
3d334d153d
commit
614902ebdd
|
@ -201,7 +201,7 @@ void GraphicsWindow::PasteClipboard(Vector trans, double theta, double scale) {
|
||||||
c.other2 = cc->other2;
|
c.other2 = cc->other2;
|
||||||
c.reference = cc->reference;
|
c.reference = cc->reference;
|
||||||
c.disp = cc->disp;
|
c.disp = cc->disp;
|
||||||
Constraint::AddConstraint(&c);
|
Constraint::AddConstraint(&c, /*rememberForUndo=*/false);
|
||||||
}
|
}
|
||||||
|
|
||||||
SS.ScheduleGenerateAll();
|
SS.ScheduleGenerateAll();
|
||||||
|
|
Loading…
Reference in New Issue