diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-08-28 18:45:36 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-08-28 18:53:07 +0300 |
commit | 69a966aca0c147ef21eeee986cc73554bfe5e948 (patch) | |
tree | 41b0653e05767cadf8e50500fba5c7b6d585fae4 /source/blender/editors/include/ED_transform.h | |
parent | 01bd22929fdb2c7ec0f564faee46c0ad84d11687 (diff) |
Transform: option to transform parent objects without children
Supports parent/child chains with mixed selections.
Currently accessible from the pivot popover
(may be moved along with the other options here).
Diffstat (limited to 'source/blender/editors/include/ED_transform.h')
-rw-r--r-- | source/blender/editors/include/ED_transform.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/include/ED_transform.h b/source/blender/editors/include/ED_transform.h index a8a8b8936e0..d8b65aa5975 100644 --- a/source/blender/editors/include/ED_transform.h +++ b/source/blender/editors/include/ED_transform.h @@ -92,6 +92,8 @@ enum TfmMode { #define CTX_CURSOR (1 << 10) /** When transforming object's, adjust the object data so it stays in the same place. */ #define CTX_OBMODE_XFORM_OBDATA (1 << 11) +/** Transform object parents without moving their children. */ +#define CTX_OBMODE_XFORM_SKIP_CHILDREN (1 << 12) /* Standalone call to get the transformation center corresponding to the current situation * returns 1 if successful, 0 otherwise (usually means there's no selection) |