Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntony Riakiotakis <kalast@gmail.com>2015-06-11 19:12:26 +0300
committerAntony Riakiotakis <kalast@gmail.com>2015-06-11 19:13:22 +0300
commit8c2619a11a155ecd8c331eb383a9c0749bb965ab (patch)
treeefd5fe36f5335a54b50db9aec0bf831d60d4eaf3 /source/blender/makesrna/intern/rna_userdef.c
parent939948c23384119dbcc7d94614cabf76dde22391 (diff)
Fix T45032 allow float rotational values for numpad rotation
Diffstat (limited to 'source/blender/makesrna/intern/rna_userdef.c')
-rw-r--r--source/blender/makesrna/intern/rna_userdef.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_userdef.c b/source/blender/makesrna/intern/rna_userdef.c
index 82afcfdbf29..b4f67630ffd 100644
--- a/source/blender/makesrna/intern/rna_userdef.c
+++ b/source/blender/makesrna/intern/rna_userdef.c
@@ -3459,8 +3459,8 @@ static void rna_def_userdef_view(BlenderRNA *brna)
RNA_def_property_range(prop, 0, 1000);
RNA_def_property_ui_text(prop, "Smooth View", "Time to animate the view in milliseconds, zero to disable");
- prop = RNA_def_property(srna, "rotation_angle", PROP_INT, PROP_NONE);
- RNA_def_property_int_sdna(prop, NULL, "pad_rot_angle");
+ prop = RNA_def_property(srna, "rotation_angle", PROP_FLOAT, PROP_NONE);
+ RNA_def_property_float_sdna(prop, NULL, "pad_rot_angle");
RNA_def_property_range(prop, 0, 90);
RNA_def_property_ui_text(prop, "Rotation Angle", "Rotation step for numerical pad keys (2 4 6 8)");