Fix manipulator remove tag, it cleared all groups
This commit is contained in:
parent
3f4b3fdfba
commit
9e762693db
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue