Fix printing if stencil is enable or disable

accellbaker
quazi-irfan 6 years ago committed by Stephen Gold
parent ac60a134d2
commit 5bc64800e0
  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 (name.equals("toggle") && keyPressed) {
if (enableStencil) { if (enableStencil) {
enableStencil = false; enableStencil = false;
System.out.println("Stencil Enabled (model should be hidden)"); System.out.println("Stencil Disabled (model should be visible)");
} else { } else {
enableStencil = true; enableStencil = true;
System.out.println("Stencil Disabled (model should be visible)"); System.out.println("Stencil Enabled (model should be hidden)");
} }
} }
} }

Loading…
Cancel
Save