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:
authorGermano Cavalcante <germano.costa@ig.com.br>2020-02-21 18:19:55 +0300
committerGermano Cavalcante <germano.costa@ig.com.br>2020-02-21 18:20:03 +0300
commitd0578a94eeccdb68363a7b018ba017a4b6ba907f (patch)
treed64336780f190822dfd08a195ebc8b343b0f4c1c /source/blender/editors/transform/transform_orientations.c
parent824b2c689e9c11ab110c81928f8eab21187811cb (diff)
Fix regression in the orientation of transform Redo operations
Caused by rBb3abd2e102df
Diffstat (limited to 'source/blender/editors/transform/transform_orientations.c')
-rw-r--r--source/blender/editors/transform/transform_orientations.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/transform/transform_orientations.c b/source/blender/editors/transform/transform_orientations.c
index 1952a2c862e..ea4f1eedd81 100644
--- a/source/blender/editors/transform/transform_orientations.c
+++ b/source/blender/editors/transform/transform_orientations.c
@@ -512,11 +512,11 @@ void initTransformOrientation(bContext *C, TransInfo *t)
t->orientation.unset = V3D_ORIENT_VIEW;
copy_m3_m4(t->orient_matrix, t->viewinv);
normalize_m3(t->orient_matrix);
+ negate_m3(t->orient_matrix);
}
else {
copy_m3_m3(t->orient_matrix, t->spacemtx);
}
- negate_m3(t->orient_matrix);
}
}