Commit 767a084f authored by legoc's avatar legoc
Browse files

Forgot to show reversed check box 1

parent 0c4e3b60
......@@ -418,7 +418,7 @@ public class EditorMenuBar extends MenuBar {
ComboBox<String> zeroValueReference1Box = new ComboBox<>(references);
zeroValueReference1Label.setVisible(selectedAxis.getType() == Axis.Type.ROTATION || selectedAxis.getType() == Axis.Type.TRANSLATION);
zeroValueReference1Box.setVisible(selectedAxis.getType() == Axis.Type.ROTATION || selectedAxis.getType() == Axis.Type.TRANSLATION);
reversedDirection1Check.setVisible(selectedAxis.getType() == Axis.Type.ROTATION);
reversedDirection1Check.setVisible(selectedAxis.getType() == Axis.Type.ROTATION || selectedAxis.getType() == Axis.Type.TRANSLATION);
// Select the reference axis.
if (selectedAxis.getZeroValueReferenceAxis1() != null) {
......@@ -548,7 +548,7 @@ public class EditorMenuBar extends MenuBar {
// Change the visibility of the zero value reference boxes and labels.
zeroValueReference1Label.setVisible(newValue == Axis.Type.ROTATION || newValue == Axis.Type.TRANSLATION);
zeroValueReference1Box.setVisible(newValue == Axis.Type.ROTATION || newValue == Axis.Type.TRANSLATION);
reversedDirection1Check.setVisible(newValue == Axis.Type.ROTATION);
reversedDirection1Check.setVisible(newValue == Axis.Type.ROTATION || newValue == Axis.Type.TRANSLATION);
zeroValueReference2Label.setVisible(newValue == Axis.Type.ROTATION);
zeroValueReference2Box.setVisible(newValue == Axis.Type.ROTATION);
......
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