From 69a966aca0c147ef21eeee986cc73554bfe5e948 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 29 Aug 2019 01:45:36 +1000 Subject: 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). --- source/blender/editors/transform/transform.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (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 9782b694bb0..d842a80d68c 100644 --- a/source/blender/editors/transform/transform.h +++ b/source/blender/editors/transform/transform.h @@ -731,6 +731,13 @@ typedef struct TransInfo { */ struct GHash *obdata_in_obmode_map; + /** + * Transform + * - The key is object data #Object. + * - The value is #XFormObjectSkipChild. + */ + struct GHash *obchild_in_obmode_map; + } TransInfo; /* ******************** Macros & Prototypes *********************** */ @@ -1178,4 +1185,7 @@ bool checkUseAxisMatrix(TransInfo *t); void trans_obdata_in_obmode_free_all(struct TransInfo *t); void trans_obdata_in_obmode_update_all(struct TransInfo *t); +void trans_obchild_in_obmode_free_all(struct TransInfo *t); +void trans_obchild_in_obmode_update_all(struct TransInfo *t); + #endif -- cgit v1.2.3