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:
2006-12-23 17:07:02 +00:00
parent d66f828c9b
commit bef18061ec
13 changed files with 221 additions and 105 deletions

View File

@@ -810,7 +810,7 @@ void EM_free_data_layer(CustomData *data, int type)
olddata= *data;
olddata.layers= (olddata.layers)? MEM_dupallocN(olddata.layers): NULL;
CustomData_free_layer(data, type, 0);
CustomData_free_layer_active(data, type, 0);
update_data_blocks(&olddata, data);
if (olddata.layers) MEM_freeN(olddata.layers);