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

This commit is contained in:
Nehon 2015-11-17 14:37:12 +01:00
parent 49c6705bcc
commit 0929bb2845

View File

@ -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;