Fixed group in consideration of new selection code
This commit is contained in:
parent
437f26cd0c
commit
c3ce0aa34c
2 changed files with 5 additions and 26 deletions
|
|
@ -129,10 +129,9 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
|
|||
{
|
||||
// Create and perform the delete operation
|
||||
var operation = new GroupCommand(view3DWidget, Scene.SelectedItem);
|
||||
operation.Do();
|
||||
|
||||
// Store the operation for undo/redo
|
||||
view3DWidget.Scene.UndoBuffer.Add(operation);
|
||||
view3DWidget.Scene.UndoBuffer.AddAndDo(operation);
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue