Commit 0cab1778 authored by legoc's avatar legoc

Implemented the update of the bounding boxes when moving or deleting a component

parent 7fb4b2a7
......@@ -1465,11 +1465,11 @@ public class EditorMenuBar extends MenuBar {
// Modify the operation by getting the name of the parent before it changes.
operation.addMovedComponent(new PathName(component).toString());
// Move the component.
newParentComponent.addChild(component);
}
// Apply the operation.
operation.apply(Nomad3DEditor.getInstance().getModel());
// Update the scene.
updateScene();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment