Revision: 20916
          
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=20916
Author:   broken
Date:     2009-06-16 03:51:51 +0200 (Tue, 16 Jun 2009)

Log Message:
-----------
small fix: ao energy is not a percentage

Modified Paths:
--------------
    branches/blender2.5/blender/source/blender/makesrna/intern/rna_world.c

Modified: branches/blender2.5/blender/source/blender/makesrna/intern/rna_world.c
===================================================================
--- branches/blender2.5/blender/source/blender/makesrna/intern/rna_world.c      
2009-06-16 01:32:33 UTC (rev 20915)
+++ branches/blender2.5/blender/source/blender/makesrna/intern/rna_world.c      
2009-06-16 01:51:51 UTC (rev 20916)
@@ -165,7 +165,7 @@
        RNA_def_property_float_sdna(prop, NULL, "aodistfac");
        RNA_def_property_ui_text(prop, "Strength", "Distance attenuation 
factor, the higher, the 'shorter' the shadows.");
 
-       prop= RNA_def_property(srna, "energy", PROP_FLOAT, PROP_PERCENTAGE);
+       prop= RNA_def_property(srna, "energy", PROP_FLOAT, PROP_NONE);
        RNA_def_property_float_sdna(prop, NULL, "aoenergy");
        RNA_def_property_ui_range(prop, 0, 10, 0.1, 3);
        RNA_def_property_ui_text(prop, "Energy", "Amount of enerygy generated 
by ambient occlusion.");


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

Reply via email to