diff options
Diffstat (limited to 'source/blender/editors/transform/transform_orientations.c')
-rw-r--r-- | source/blender/editors/transform/transform_orientations.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/transform/transform_orientations.c b/source/blender/editors/transform/transform_orientations.c index 81c63278366..ff15bbfb5d6 100644 --- a/source/blender/editors/transform/transform_orientations.c +++ b/source/blender/editors/transform/transform_orientations.c @@ -486,7 +486,6 @@ void initTransformOrientation(bContext *C, TransInfo *t, short orientation) else { unit_m3(mat); } - negate_v3(mat[2]); copy_m3_m3(t->spacemtx, mat); break; } @@ -511,6 +510,8 @@ void initTransformOrientation(bContext *C, TransInfo *t, short orientation) } break; } + + invert_m3_m3(t->spacemtx_inv, t->spacemtx); } /** |