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:
authorCampbell Barton <ideasman42@gmail.com>2012-02-01 08:11:19 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-02-01 08:11:19 +0400
commit14fa3be9bf7b3a2b5d8d464986731533c54ade6b (patch)
tree66a5e09c8d044aedf1db781def75dde0411a20c8 /source/blender/makesrna/intern/rna_constraint.c
parent40f1686f476c4b8b2b4f143281bf16df96ed4321 (diff)
fix for error found while looking into bug [#29998].
rotation limits can exceed 90deg.
Diffstat (limited to 'source/blender/makesrna/intern/rna_constraint.c')
-rw-r--r--source/blender/makesrna/intern/rna_constraint.c4
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;