diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-06-06 03:50:38 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-06-06 03:51:08 +0400 |
commit | 02808f2774976432cf0816bd9919dab2749670f5 (patch) | |
tree | 76656980fd45666f2bbe893c4c39826edf721716 /source/blender/makesrna | |
parent | ae4ed68dfef8a97056b41393915ca853804dd8fe (diff) |
UI: higher precision for IK poll angle
Diffstat (limited to 'source/blender/makesrna')
-rw-r--r-- | source/blender/makesrna/intern/rna_constraint.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_constraint.c b/source/blender/makesrna/intern/rna_constraint.c index 5fbaae71482..120992cffe8 100644 --- a/source/blender/makesrna/intern/rna_constraint.c +++ b/source/blender/makesrna/intern/rna_constraint.c @@ -662,6 +662,7 @@ static void rna_def_constraint_kinematic(BlenderRNA *brna) prop = RNA_def_property(srna, "pole_angle", PROP_FLOAT, PROP_ANGLE); RNA_def_property_float_sdna(prop, NULL, "poleangle"); RNA_def_property_range(prop, -M_PI, M_PI); + RNA_def_property_ui_range(prop, -M_PI, M_PI, 10, 4); RNA_def_property_ui_text(prop, "Pole Angle", "Pole rotation offset"); RNA_def_property_update(prop, NC_OBJECT | ND_CONSTRAINT, "rna_Constraint_update"); |