Commit efd10ed0 authored by legoc's avatar legoc
Browse files

Improved unselect all

parent ddc3881f
......@@ -730,7 +730,7 @@ public class EditorMenuBar extends MenuBar {
Nomad3DEditor.getInstance().getModel().clearSelection();
updateScene();
Nomad3DEditor.getInstance().getModel().addToSelectionWithTreeUpdate(selectedComponent);
Nomad3DEditor.getInstance().getModel().selectComponentTreeItem(selectedComponent, true);
valueThread.interrupt();
addStage.close();
});
......@@ -744,7 +744,7 @@ public class EditorMenuBar extends MenuBar {
selectedComponent.setAxis(initialAxis);
Nomad3DEditor.getInstance().getModel().clearSelection();
updateScene();
Nomad3DEditor.getInstance().getModel().addToSelectionWithTreeUpdate(selectedComponent);
Nomad3DEditor.getInstance().getModel().selectComponentTreeItem(selectedComponent, true);
valueThread.interrupt();
addStage.close();
});
......
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