From a3e3d241f6c2535e53249f593d9bc7d99cf2546a Mon Sep 17 00:00:00 2001 From: "rem..om" Date: Sat, 25 Jun 2011 11:30:45 +0000 Subject: [PATCH] sdk - Fixed NPE in JmeLight due to a removed attribute in Light git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7727 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- .../src/com/jme3/gde/core/sceneexplorer/nodes/JmeLight.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeLight.java b/sdk/jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeLight.java index 707b90eb8..557b477ba 100644 --- a/sdk/jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeLight.java +++ b/sdk/jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeLight.java @@ -95,7 +95,7 @@ public class JmeLight extends AbstractSceneExplorerNode{ } set.put(makeProperty(obj, ColorRGBA.class, "getColor", "setColor", "Color")); - set.put(makeProperty(obj, float.class, "getLastDistance", "setLastDistance", "Last Distance")); + sheet.put(set); return sheet;