diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-08-28 09:00:28 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-08-28 09:00:28 +0300 |
commit | a520e7c85c83536a81ba53f7c7c6dba665ebad96 (patch) | |
tree | f124b36e58453f4460faac33da14abe005d7665c /source/blender/editors/transform/transform.h | |
parent | 1261a29fc0f8c286d1ca7d435fdfccdcd12fd4ba (diff) |
Transform: center override
Hidden option to override transform center.
Needed for manipulators that define their own center.
Diffstat (limited to 'source/blender/editors/transform/transform.h')
-rw-r--r-- | source/blender/editors/transform/transform.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/transform/transform.h b/source/blender/editors/transform/transform.h index d60eb2f0778..06a60456cdb 100644 --- a/source/blender/editors/transform/transform.h +++ b/source/blender/editors/transform/transform.h @@ -533,6 +533,9 @@ typedef struct TransInfo { /* alternative transformation. used to add offset to tracking markers */ #define T_ALT_TRANSFORM (1 << 24) + /** #TransInfo.center has been set, don't change it. */ +#define T_OVERRIDE_CENTER (1 << 25) + /* TransInfo->modifiers */ #define MOD_CONSTRAINT_SELECT 0x01 #define MOD_PRECISION 0x02 |