Select Grouped editdata- minor fix in the menu.
Updated Python Mesh API to support UV and Color layers with names. Similar to vertex group's renamed a function in customdata.c CustomData_free_layers -> CustomData_free_layers_active and made CustomData_free_layers accept an index, this is needed so python could free layers that arnt active.
This commit is contained in:
@@ -4081,7 +4081,7 @@ void RE_make_sticky(void)
|
||||
me= ob->data;
|
||||
mvert= me->mvert;
|
||||
if(me->msticky)
|
||||
CustomData_free_layer(&me->vdata, CD_MSTICKY, me->totvert);
|
||||
CustomData_free_layer_active(&me->vdata, CD_MSTICKY, me->totvert);
|
||||
me->msticky= CustomData_add_layer(&me->vdata, CD_MSTICKY,
|
||||
CD_CALLOC, NULL, me->totvert);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user