diff options
author | Harvey Harrison <[email protected]> | 2013-02-18 22:44:29 -0800 |
---|---|---|
committer | Harvey Harrison <[email protected]> | 2013-02-18 22:44:29 -0800 |
commit | d7c7e6a6edb3715fffc7a3100bdbcb7dea246eb9 (patch) | |
tree | 88dd2e7c4cd8437267e8320fec774f6096fd3b00 | |
parent | 9bfc9f3b52eb49f1ac739f5720e4d532f492f093 (diff) |
j3dcore: make setting boolean properties less chatty
Onyly write a message to stderr if debug is set.
Signed-off-by: Harvey Harrison <[email protected]>
-rw-r--r-- | src/classes/share/javax/media/j3d/MasterControl.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/classes/share/javax/media/j3d/MasterControl.java b/src/classes/share/javax/media/j3d/MasterControl.java index 18b0c2a..30855b8 100644 --- a/src/classes/share/javax/media/j3d/MasterControl.java +++ b/src/classes/share/javax/media/j3d/MasterControl.java @@ -783,7 +783,8 @@ private static String getProperty(final String prop) { if (propValue != null) { value = Boolean.valueOf(propValue).booleanValue(); - System.err.println("Java 3D: " + (value ? trueMsg : falseMsg)); + if (J3dDebug.debug) + System.err.println("Java 3D: " + (value ? trueMsg : falseMsg)); } return value; } |