public override void Redo(ref MokkanList list) { list.UnselectAll(); foreach (DrawObject o in cloneObjects) { list.Add(o); } addedCount = cloneObjects.Count; }
public override void Undo(ref MokkanList list) { list.UnselectAll(); // Add all objects from cloneList to list. foreach (DrawObject o in cloneList) { list.Add(o); } }