Corrected the bug in RenderState.toString()

native-compilation-test
Michael Braunstingl 8 years ago
parent d39b780fa5
commit 1bbe34160c
  1. 5
      jme3-core/src/main/java/com/jme3/material/RenderState.java

@ -1594,8 +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]");
}
}

Loading…
Cancel
Save