From 1bbe34160c403b294f7f721e76005452a01ac442 Mon Sep 17 00:00:00 2001 From: Michael Braunstingl Date: Sun, 24 Jul 2016 17:16:29 +0200 Subject: [PATCH] Corrected the bug in RenderState.toString() --- jme3-core/src/main/java/com/jme3/material/RenderState.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/jme3-core/src/main/java/com/jme3/material/RenderState.java b/jme3-core/src/main/java/com/jme3/material/RenderState.java index 9e3b1d257..22195ad97 100644 --- a/jme3-core/src/main/java/com/jme3/material/RenderState.java +++ b/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]"); } }