forked from bartvdbraak/blender
small fix: ao energy is not a percentage
This commit is contained in:
parent
1d0bc55e6c
commit
172a3e9d0e
@ -165,7 +165,7 @@ static void rna_def_ambient_occlusion(BlenderRNA *brna)
|
|||||||
RNA_def_property_float_sdna(prop, NULL, "aodistfac");
|
RNA_def_property_float_sdna(prop, NULL, "aodistfac");
|
||||||
RNA_def_property_ui_text(prop, "Strength", "Distance attenuation factor, the higher, the 'shorter' the shadows.");
|
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_float_sdna(prop, NULL, "aoenergy");
|
||||||
RNA_def_property_ui_range(prop, 0, 10, 0.1, 3);
|
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.");
|
RNA_def_property_ui_text(prop, "Energy", "Amount of enerygy generated by ambient occlusion.");
|
||||||
|
Loading…
Reference in New Issue
Block a user