Added a replace undo command and used it for ungroup mesh
This commit is contained in:
parent
003edb6c28
commit
65639abc75
10 changed files with 124 additions and 31 deletions
|
|
@ -167,8 +167,7 @@ namespace MatterHackers.MatterControl.PrintLibrary
|
|||
// Create and push the undo operation
|
||||
foreach (var item in loadedItems)
|
||||
{
|
||||
view3DWidget.AddUndoOperation(
|
||||
new InsertCommand(view3DWidget, scene, item));
|
||||
view3DWidget.AddUndoOperation(new InsertCommand(scene, item));
|
||||
}
|
||||
|
||||
if (scene.SelectedItem == this
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue