diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-06-05 20:34:09 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-06-05 20:34:09 +0300 |
commit | 6d4f08467715030e7ef8833758b8da986280f236 (patch) | |
tree | 01a0c20cd3a5d65a85e72beecb9d81444dd92722 /source/blender/makesdna | |
parent | e83001b782f9a3cdd33a4cf57777ee7f2967dc2c (diff) |
WM: pass manipulator-map when creating wmManipulatorGroup
Also store parent-pointer in wmManipulatorGroup's,
since its not always possible to access the parent pointer.
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_manipulator_types.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_manipulator_types.h b/source/blender/makesdna/DNA_manipulator_types.h index 7b75806f7c0..006a308162b 100644 --- a/source/blender/makesdna/DNA_manipulator_types.h +++ b/source/blender/makesdna/DNA_manipulator_types.h @@ -31,6 +31,8 @@ typedef struct wmManipulatorGroup { struct wmManipulatorGroupType *type; ListBase manipulators; + struct wmManipulatorMap *parent_mmap; + void *py_instance; /* python stores the class instance here */ struct ReportList *reports; /* errors and warnings storage */ |