Revision: 27163
          
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=27163
Author:   zanqdo
Date:     2010-02-27 11:01:20 +0100 (Sat, 27 Feb 2010)

Log Message:
-----------
One more decimal to the lamp distance and energy button... makes fine
tuning nicer

Modified Paths:
--------------
    trunk/blender/source/blender/makesrna/intern/rna_lamp.c

Modified: trunk/blender/source/blender/makesrna/intern/rna_lamp.c
===================================================================
--- trunk/blender/source/blender/makesrna/intern/rna_lamp.c     2010-02-27 
02:03:33 UTC (rev 27162)
+++ trunk/blender/source/blender/makesrna/intern/rna_lamp.c     2010-02-27 
10:01:20 UTC (rev 27163)
@@ -347,12 +347,12 @@
        prop= RNA_def_property(srna, "distance", PROP_FLOAT, PROP_DISTANCE);
        RNA_def_property_float_sdna(prop, NULL, "dist");
        RNA_def_property_range(prop, 0, INT_MAX);
-       RNA_def_property_ui_range(prop, 0, 1000, 1, 2);
+       RNA_def_property_ui_range(prop, 0, 1000, 1, 3);
        RNA_def_property_ui_text(prop, "Distance", "Falloff distance - the 
light is at half the original intensity at this point");
        RNA_def_property_update(prop, 0, "rna_Lamp_draw_update");
 
        prop= RNA_def_property(srna, "energy", PROP_FLOAT, PROP_NONE);
-       RNA_def_property_ui_range(prop, 0, 10, 1, 2);
+       RNA_def_property_ui_range(prop, 0, 10, 1, 3);
        RNA_def_property_ui_text(prop, "Energy", "Amount of light that the lamp 
emits");
        RNA_def_property_update(prop, 0, "rna_Lamp_draw_update");
 


_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to