From 600fd1c6f0ed5025068598bfb98f6881f2563acd Mon Sep 17 00:00:00 2001 From: Germano Cavalcante Date: Wed, 20 May 2020 16:22:10 -0300 Subject: 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`. --- source/blender/editors/transform/transform.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/editors/transform/transform.h') 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]; -- cgit v1.2.3