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:
authorSergey Sharybin <sergey.vfx@gmail.com>2012-11-23 13:22:34 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2012-11-23 13:22:34 +0400
commit84fb45c2a5ca4a866f5d81c723b205143ff38f97 (patch)
tree827af91df29055178b5f7bf72b877b5ac6b601e1 /source/blender/editors/transform/transform_constraints.c
parentd35565c2e740f1c8d50dff2b27f4e9b512ecd9f6 (diff)
Fix #33266: Transforming with Y axis constraint didn't apply aspect ratio correct
It first needed to constraint numeric input and then apply aspect correction only, otherwise aspect correction would be applied on a wrong axis.
Diffstat (limited to 'source/blender/editors/transform/transform_constraints.c')
-rw-r--r--source/blender/editors/transform/transform_constraints.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/transform/transform_constraints.c b/source/blender/editors/transform/transform_constraints.c
index 311cb5ee94d..947bdf53bee 100644
--- a/source/blender/editors/transform/transform_constraints.c
+++ b/source/blender/editors/transform/transform_constraints.c
@@ -150,8 +150,8 @@ static void postConstraintChecks(TransInfo *t, float vec[3], float pvec[3])
if (hasNumInput(&t->num)) {
applyNumInput(&t->num, vec);
- removeAspectRatio(t, vec);
constraintNumInput(t, vec);
+ removeAspectRatio(t, vec);
}
/* autovalues is operator param, use that directly but not if snapping is forced */