Corrected the bug in RenderState.toString()

This commit is contained in:
Michael Braunstingl 2016-07-24 17:16:29 +02:00
parent d39b780fa5
commit 1bbe34160c

View File

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