Browse Source

Corrected parenthesis bug.

Michael Braunstingl 9 năm trước cách đây
mục cha
commit
6728ac1115

+ 2 - 2
jme3-core/src/main/java/com/jme3/material/RenderState.java

@@ -1594,7 +1594,7 @@ public class RenderState implements Cloneable, Savable {
                 + "\noffsetFactor=" + offsetFactor
                 + "\noffsetUnits=" + offsetUnits
                 + "\nlineWidth=" + lineWidth
-                + (blendMode.equals(BlendMode.Custom)? "\ncustomBlendFactors=("+sfactorRGB+", "+dfactorRGB+", "+sfactorAlpha+", "+dfactorAlpha+")":""
-                +"\n]");
+                + (blendMode.equals(BlendMode.Custom)? "\ncustomBlendFactors=("+sfactorRGB+", "+dfactorRGB+", "+sfactorAlpha+", "+dfactorAlpha+")":"")
+                +"\n]";
     }
 }