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>2019-08-28 18:45:36 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-08-28 18:53:07 +0300
commit69a966aca0c147ef21eeee986cc73554bfe5e948 (patch)
tree41b0653e05767cadf8e50500fba5c7b6d585fae4 /source/blender/editors/transform/transform.h
parent01bd22929fdb2c7ec0f564faee46c0ad84d11687 (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/transform/transform.h')
-rw-r--r--source/blender/editors/transform/transform.h10
1 files changed, 10 insertions, 0 deletions
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