diff options
author | Nathan Letwory <nathan@letworyinteractive.com> | 2008-12-26 05:02:06 +0300 |
---|---|---|
committer | Nathan Letwory <nathan@letworyinteractive.com> | 2008-12-26 05:02:06 +0300 |
commit | 1d3670417b870f806466253ee2d3d0726052f2e2 (patch) | |
tree | d5416474939785e0ab6d77d01d7bc7f336126dc5 /source/blender/makesrna/intern/rna_lamp.c | |
parent | 2a2e720586c73555eb82dfc9cc3c4b5f86adb178 (diff) |
2.5 / RNA
* assorted fixes for resolving compile warnings
* in rna_armature setting for envelope weight was bug, since it was setting dist instead.
Diffstat (limited to 'source/blender/makesrna/intern/rna_lamp.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_lamp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_lamp.c b/source/blender/makesrna/intern/rna_lamp.c index 6e7def08a63..9dd7f079369 100644 --- a/source/blender/makesrna/intern/rna_lamp.c +++ b/source/blender/makesrna/intern/rna_lamp.c @@ -306,13 +306,13 @@ void RNA_def_lamp(BlenderRNA *brna) RNA_def_property_float_sdna(prop, NULL, "r"); RNA_def_property_array(prop, 3); RNA_def_property_ui_text(prop, "Color", ""); - RNA_def_property_ui_range(prop, 0.0f, 1.0f, 10.0f, 3.0f); + RNA_def_property_ui_range(prop, 0.0f, 1.0f, 10.0f, 3); prop= RNA_def_property(srna, "shadow_color", PROP_FLOAT, PROP_COLOR); RNA_def_property_float_sdna(prop, NULL, "shdwr"); RNA_def_property_array(prop, 3); RNA_def_property_ui_text(prop, "Shadow Color", ""); - RNA_def_property_ui_range(prop, 0.0f, 1.0f, 10.0f, 3.0f); + RNA_def_property_ui_range(prop, 0.0f, 1.0f, 10.0f, 3); /* Booleans */ prop= RNA_def_property(srna, "auto_clip_start", PROP_BOOLEAN, PROP_NONE); |