Fix a bug in CustomData_duplicate_referenced_layer(_named) functions: MEM_dupallocN...
authorBastien Montagne <montagne29@wanadoo.fr>
Mon, 19 Dec 2011 08:26:53 +0000 (08:26 +0000)
committerBastien Montagne <montagne29@wanadoo.fr>
Mon, 19 Dec 2011 08:26:53 +0000 (08:26 +0000)
commit90ef435145416313596cafa6f8c4c6c6aebe4e44
treea4fb3a2027baee153227365f65a3795529b99a31
parent53f88b231a3cd492ba45914a1813a633b1189218
Fix a bug in CustomData_duplicate_referenced_layer(_named) functions: MEM_dupallocN does not work with complex layers like CD_MDEFORMVERT ones, so rather use copy func when available.
source/blender/blenkernel/BKE_customdata.h
source/blender/blenkernel/intern/cdderivedmesh.c
source/blender/blenkernel/intern/customdata.c
source/blender/modifiers/intern/MOD_solidify.c
source/blender/modifiers/intern/MOD_uvproject.c