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/editdeform.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/editdeform.c')
-rw-r--r--source/blender/src/editdeform.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/editdeform.c b/source/blender/src/editdeform.c
index 4df058995bc..007dd52df8b 100644
--- a/source/blender/src/editdeform.c
+++ b/source/blender/src/editdeform.c
@@ -255,7 +255,7 @@ void del_defgroup (Object *ob)
/* remove all dverts */
if(ob->actdef==0) {
Mesh *me= ob->data;
- CustomData_free_layer(&me->vdata, CD_MDEFORMVERT, me->totvert);
+ CustomData_free_layer_active(&me->vdata, CD_MDEFORMVERT, me->totvert);
me->dvert= NULL;
}
}