diff options
author | Matt Ebb <matt@mke3.net> | 2009-06-16 05:51:51 +0400 |
---|---|---|
committer | Matt Ebb <matt@mke3.net> | 2009-06-16 05:51:51 +0400 |
commit | 172a3e9d0e6459122bb8e501eadaa3ef9b9f1e34 (patch) | |
tree | dd92fed8c09350d8794e3568f2d18584794ee821 /source/blender/makesrna/intern/rna_world.c | |
parent | 1d0bc55e6ccfb43d439eeab788598d955dae9887 (diff) |
small fix: ao energy is not a percentage
Diffstat (limited to 'source/blender/makesrna/intern/rna_world.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_world.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_world.c b/source/blender/makesrna/intern/rna_world.c index 9290e81a219..4dba61411f0 100644 --- a/source/blender/makesrna/intern/rna_world.c +++ b/source/blender/makesrna/intern/rna_world.c @@ -165,7 +165,7 @@ static void rna_def_ambient_occlusion(BlenderRNA *brna) 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."); |