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:
authorCampbell Barton <ideasman42@gmail.com>2021-11-11 13:14:10 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-11-11 13:33:09 +0300
commitb7e2408ea4d9cf4559a63d2933478f5a7fd7450c (patch)
tree5f5e089237ee0afcccf9d15b8cd598edd950d553 /source/blender/editors/transform/transform.h
parentbb64155c6372577342f80234fece2615c36d347f (diff)
Fix T92867: Gimbal rotation broken when used for multiple objects
Support gimbal orientation for objects & bones.
Diffstat (limited to 'source/blender/editors/transform/transform.h')
-rw-r--r--source/blender/editors/transform/transform.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/editors/transform/transform.h b/source/blender/editors/transform/transform.h
index 8fe3b51620d..e13e7c3f93a 100644
--- a/source/blender/editors/transform/transform.h
+++ b/source/blender/editors/transform/transform.h
@@ -621,6 +621,12 @@ typedef struct TransInfo {
O_SET,
} orient_curr;
+ /**
+ * All values from `TransInfo.orient[].type` converted into a flag
+ * to allow quickly checking which orientation types are used.
+ */
+ int orient_type_mask;
+
short prop_mode;
/** Value taken as input, either through mouse coordinates or entered as a parameter. */