Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2006-12-23 20:07:02 +0300
committerCampbell Barton <ideasman42@gmail.com>2006-12-23 20:07:02 +0300
commitbef18061ec87ece6d1fec88e9fdffcb854eefb13 (patch)
tree2be82ed673a2074cfbe9c87b5718943ac0208e47 /source/blender/src/editmesh_lib.c
parentd66f828c9bee8177fbd3b0155a48dacbb450189b (diff)
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.
Diffstat (limited to 'source/blender/src/editmesh_lib.c')
-rw-r--r--source/blender/src/editmesh_lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/editmesh_lib.c b/source/blender/src/editmesh_lib.c
index 5732b30b664..dd42e97f782 100644
--- a/source/blender/src/editmesh_lib.c
+++ b/source/blender/src/editmesh_lib.c
@@ -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);