Beispiel #1
0
 private void PerformNecessaryUndoRecordingsBeforeEraseOperation()
 {
     // Note: We have to increment the current group, because otherwise the previous records will be overridden
     //       by the new one and we would not be able to properly restore the states on Undo. For example, this
     //       can result in loosing the object selection information.
     UndoEx.IncrementCurrentGroup();
     UndoEx.RecordForToolAction(ObjectSelection.Get());
 }