diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-02-01 08:11:19 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-02-01 08:11:19 +0400 |
commit | 14fa3be9bf7b3a2b5d8d464986731533c54ade6b (patch) | |
tree | 66a5e09c8d044aedf1db781def75dde0411a20c8 /source | |
parent | 40f1686f476c4b8b2b4f143281bf16df96ed4321 (diff) |
fix for error found while looking into bug [#29998].
rotation limits can exceed 90deg.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/makesrna/intern/rna_constraint.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_constraint.c b/source/blender/makesrna/intern/rna_constraint.c index 9995f4f16e9..a3825531b19 100644 --- a/source/blender/makesrna/intern/rna_constraint.c +++ b/source/blender/makesrna/intern/rna_constraint.c @@ -293,8 +293,8 @@ static void rna_ActionConstraint_minmax_range(PointerRNA *ptr, float *min, float /* 0, 1, 2 = magic numbers for rotX, rotY, rotZ */ if (ELEM3(acon->type, 0, 1, 2)) { - *min= -90.f; - *max= 90.f; + *min= -180.0f; + *max= 180.0f; } else { *min= -1000.f; *max= 1000.f; |