Commit 86b8401c authored by Ivan Dages's avatar Ivan Dages
Browse files

modify axis : camera follows ui coordinates

parent a660cb58
......@@ -403,6 +403,7 @@ public class EditorMenuBar extends MenuBar {
(bounds.getMinZ() + bounds.getMaxZ()) / 2
);
Nomad3DEditor.getInstance().getAxisBuilder().getAxis().setPosition(center);
Nomad3DEditor.getInstance().getControls().setCenter(center);
});
Button okButton = new Button("OK");
......
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