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-05-20 22:22:10 +0300
committerGermano Cavalcante <germano.costa@ig.com.br>2020-05-20 22:22:10 +0300
commit600fd1c6f0ed5025068598bfb98f6881f2563acd (patch)
treec9d701e89d73fd83535970d0e2b4ef461729bcf8 /source/blender/editors/transform/transform.h
parent29afadcb15f71119f70f77bcf32c8e54c7614576 (diff)
Fix T76919: Wrong orientation when changing translate to rotate
During the refactor of the transform operations, in an attempt to maintain previous behavior, the default orientation of the translate and resize operations became `Global` and the rotate operation became `View`. Now the default is always `View`, and on redo, the translate and rotate operations are saved as `Global`.
Diffstat (limited to 'source/blender/editors/transform/transform.h')
-rw-r--r--source/blender/editors/transform/transform.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/transform/transform.h b/source/blender/editors/transform/transform.h
index 943b8234f1e..9f4b3773fd8 100644
--- a/source/blender/editors/transform/transform.h
+++ b/source/blender/editors/transform/transform.h
@@ -519,6 +519,7 @@ typedef struct TransInfo {
/** orientation matrix of the current space. */
float spacemtx[3][3];
+ float spacemtx_inv[3][3];
/** name of the current space, MAX_NAME. */
char spacename[64];