Fix manipulator removal
The flag could be left set, removing the manipulator type again.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user