diff options
-rw-r--r-- | source/blender/editors/transform/transform_constraints.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/transform/transform_constraints.c b/source/blender/editors/transform/transform_constraints.c index b15c5b07758..5a11ed8428d 100644 --- a/source/blender/editors/transform/transform_constraints.c +++ b/source/blender/editors/transform/transform_constraints.c @@ -160,8 +160,9 @@ static void postConstraintChecks(TransInfo *t, float vec[3], float pvec[3]) { /* autovalues is operator param, use that directly but not if snapping is forced */ if (t->flag & T_AUTOVALUES && (t->tsnap.status & SNAP_FORCED) == 0) { - VECCOPY(vec, t->auto_values); + mul_v3_m3v3(vec, t->con.imtx, t->auto_values); constraintAutoValues(t, vec); + /* inverse transformation at the end */ } if (t->con.mode & CON_AXIS0) { |