diff --git a/jme3-core/src/main/java/com/jme3/light/DirectionalLight.java b/jme3-core/src/main/java/com/jme3/light/DirectionalLight.java index 6613b8428..d5b28fe55 100644 --- a/jme3-core/src/main/java/com/jme3/light/DirectionalLight.java +++ b/jme3-core/src/main/java/com/jme3/light/DirectionalLight.java @@ -132,6 +132,11 @@ public class DirectionalLight extends Light { return Type.Directional; } + @Override + public String toString() { + return getClass().getSimpleName() + "[name=" + name + ", direction=" + direction + ", color=" + color + ", enabled=" + enabled + "]"; + } + @Override public void write(JmeExporter ex) throws IOException { super.write(ex);