Added a way to change the lightProbe radius in the property panel

define_list_fix
Nehon 9 years ago
parent 49c6705bcc
commit 0929bb2845
  1. 3
      sdk/jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeLightProbe.java

@ -69,7 +69,8 @@ public class JmeLightProbe extends JmeLight{
}
set.put(makeProperty(obj, Vector3f.class, "getPosition", "setPosition", "Position"));
//set.put(makeProperty(obj.getBounds(), Float.class, "getRadius", "setRadius", "Radius"));
set.put(makeEmbedProperty(obj.getBounds(), obj.getBounds().getClass(), float.class, "getRadius", "setRadius", "Radius"));
sheet.put(set);
return sheet;

Loading…
Cancel
Save