diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-11-10 10:10:23 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-11-10 10:10:23 +0300 |
commit | 91c1b80a5fcaaa2e91333dc768f5a61f16418821 (patch) | |
tree | 27bc7e6a284f22dc87d9bbe9f83ea878a4ea73c9 /source | |
parent | 854b6cd327ddcef6533651c30386e86f10227a56 (diff) |
bugfix [#23710] 'repeat last' button doesnt' work with extrude along axes other than Z
Diffstat (limited to 'source')
-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) { |