diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-08-25 08:19:30 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-08-25 08:19:30 +0300 |
commit | 9e762693db15f815e93714ac018083676bc908f7 (patch) | |
tree | 05625ffdfc7c085c380165569cbcfeb8cabdcd66 /source/blender/windowmanager/manipulators | |
parent | 3f4b3fdfba00952cfc7565f3d55738c042f609c1 (diff) |
Fix manipulator remove tag, it cleared all groups
Diffstat (limited to 'source/blender/windowmanager/manipulators')
-rw-r--r-- | source/blender/windowmanager/manipulators/intern/wm_manipulator_map.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/windowmanager/manipulators/intern/wm_manipulator_map.c b/source/blender/windowmanager/manipulators/intern/wm_manipulator_map.c index cece24df85f..51ad133daed 100644 --- a/source/blender/windowmanager/manipulators/intern/wm_manipulator_map.c +++ b/source/blender/windowmanager/manipulators/intern/wm_manipulator_map.c @@ -1046,7 +1046,9 @@ void WM_manipulatorconfig_update(struct Main *bmain) wgt_ref = wgt_ref_next) { wgt_ref_next = wgt_ref->next; - WM_manipulatormaptype_group_unlink(NULL, bmain, mmap_type, wgt_ref->type); + if (wgt_ref->type->type_update_flag & WM_MANIPULATORMAPTYPE_UPDATE_REMOVE) { + WM_manipulatormaptype_group_unlink(NULL, bmain, mmap_type, wgt_ref->type); + } } } } |