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_image.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_image.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_image.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/makesrna/intern/rna_image.c b/source/blender/makesrna/intern/rna_image.c index 35d0d926b0f..53359a9c39d 100644 --- a/source/blender/makesrna/intern/rna_image.c +++ b/source/blender/makesrna/intern/rna_image.c @@ -194,9 +194,9 @@ static void rna_def_image(BlenderRNA *brna) RNA_def_property_range(prop, 0, 128); RNA_def_property_ui_text(prop, "Animation End", "End frame of an animated texture."); - prop= RNA_def_property(srna, "animation_speed", PROP_FLOAT, PROP_NONE); - RNA_def_property_float_sdna(prop, NULL, "animspeed"); - RNA_def_property_range(prop, 1.0f, 100.0f); + prop= RNA_def_property(srna, "animation_speed", PROP_INT, PROP_NONE); + RNA_def_property_int_sdna(prop, NULL, "animspeed"); + RNA_def_property_range(prop, 1, 100); RNA_def_property_ui_text(prop, "Animation Speed", "Speed of the animation in frames per second."); prop= RNA_def_property(srna, "tiles", PROP_BOOLEAN, PROP_NONE); |