diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-05-18 18:29:43 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-05-18 18:36:11 +0300 |
commit | c2d5411cbfe2da4b4a274a8695cec8a024cad886 (patch) | |
tree | 5502b4bf263b136848f203f827af15f4885aa3b7 /source | |
parent | 6a782ed767f993404cd5ba1cd233f49f9fffaaf2 (diff) |
Fix manipulator removal
The flag could be left set, removing the manipulator type again.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/windowmanager/manipulators/intern/wm_manipulator_map.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/windowmanager/manipulators/intern/wm_manipulator_map.c b/source/blender/windowmanager/manipulators/intern/wm_manipulator_map.c index da55db9db00..ab8c797df69 100644 --- a/source/blender/windowmanager/manipulators/intern/wm_manipulator_map.c +++ b/source/blender/windowmanager/manipulators/intern/wm_manipulator_map.c @@ -1151,6 +1151,7 @@ void WM_manipulatorconfig_update(struct Main *bmain) { wgt_ref_next = wgt_ref->next; if (wgt_ref->type->type_update_flag & WM_MANIPULATORMAPTYPE_UPDATE_REMOVE) { + wgt_ref->type->type_update_flag &= ~WM_MANIPULATORMAPTYPE_UPDATE_REMOVE; WM_manipulatormaptype_group_unlink(NULL, bmain, mmap_type, wgt_ref->type); } } |