Fix printing if stencil is enable or disable

This commit is contained in:
quazi-irfan 2019-03-31 14:04:58 -05:00 committed by Stephen Gold
parent ac60a134d2
commit 5bc64800e0

View File

@ -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)");
} }
} }
} }