Fix printing if stencil is enable or disable

v3.2
quazi-irfan 6 years ago committed by Stephen Gold
parent 37ee57e845
commit 14281eb8cb
  1. 4
      jme3-examples/src/main/java/jme3test/renderer/TestDepthStencil.java

@ -114,10 +114,10 @@ public class TestDepthStencil extends SimpleApplication {
if (name.equals("toggle") && keyPressed) {
if (enableStencil) {
enableStencil = false;
System.out.println("Stencil Enabled (model should be hidden)");
System.out.println("Stencil Disabled (model should be visible)");
} else {
enableStencil = true;
System.out.println("Stencil Disabled (model should be visible)");
System.out.println("Stencil Enabled (model should be hidden)");
}
}
}

Loading…
Cancel
Save