Graphics: hidden axes were not drawn (repare a mistake) 34/13034/1
Calixte DENIZET [Tue, 29 Oct 2013 17:27:22 +0000 (18:27 +0100)]
Change-Id: I0da0f9c712c8a39e79906df02791b5463c85c301

scilab/modules/renderer/src/java/org/scilab/modules/renderer/JoGLView/axes/AxesDrawer.java

index e3ac19a..4d7597b 100644 (file)
@@ -275,7 +275,7 @@ public class AxesDrawer {
             /**
              * Draw hidden part of box.
              */
-            if (axes.getViewAsEnum() == ViewType.VIEW_2D) {
+            if (axes.getViewAsEnum() != ViewType.VIEW_2D) {
                 appearance.setLineColor(ColorFactory.createColor(colorMap, axes.getHiddenAxisColor()));
                 appearance.setLineWidth(axes.getLineThickness().floatValue());
                 appearance.setLinePattern(HIDDEN_BORDER_PATTERN.asPattern());