diff options
Diffstat (limited to 'source/blender/editors/transform/transform_constraints.c')
-rw-r--r-- | source/blender/editors/transform/transform_constraints.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/transform/transform_constraints.c b/source/blender/editors/transform/transform_constraints.c index 3d80894c1e0..09d3a991cc1 100644 --- a/source/blender/editors/transform/transform_constraints.c +++ b/source/blender/editors/transform/transform_constraints.c @@ -548,15 +548,15 @@ static void constraints_rotation_imp(TransInfo *t, switch (mode) { case CON_AXIS0: case (CON_AXIS1 | CON_AXIS2): - negate_v3_v3(r_vec, t->spacemtx[0]); + negate_v3_v3(r_vec, axismtx[0]); break; case CON_AXIS1: case (CON_AXIS0 | CON_AXIS2): - negate_v3_v3(r_vec, t->spacemtx[1]); + negate_v3_v3(r_vec, axismtx[1]); break; case CON_AXIS2: case (CON_AXIS0 | CON_AXIS1): - negate_v3_v3(r_vec, t->spacemtx[2]); + negate_v3_v3(r_vec, axismtx[2]); break; } /* don't flip axis if asked to or if num input */ |