Getting Rebuild working for Object3D

This commit is contained in:
Lars Brubaker 2018-05-22 14:13:43 -07:00
parent ca438aba4b
commit 28b55b73a5
9 changed files with 28 additions and 9 deletions

View file

@ -52,6 +52,7 @@ namespace MatterHackers.MatterControl.DesignTools
public override void Rebuild(UndoBuffer undoBuffer)
{
Rebuilding = true;
ResetMeshWrappers();
var meshWrapper = this.Descendants()
@ -122,6 +123,7 @@ namespace MatterHackers.MatterControl.DesignTools
}
}
Rebuilding = false;
// Let the base know it needs to rebuild
base.Rebuild(undoBuffer);
}