[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [43168] branches/bmesh/blender/source/ blender/bmesh/operators/mesh_conv.c: alternate fix for r43166
Campbell Barton
ideasman42 at gmail.com
Thu Jan 5 14:21:02 CET 2012
Revision: 43168
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=43168
Author: campbellbarton
Date: 2012-01-05 13:21:01 +0000 (Thu, 05 Jan 2012)
Log Message:
-----------
alternate fix for r43166
Revision Links:
--------------
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=43166
Modified Paths:
--------------
branches/bmesh/blender/source/blender/bmesh/operators/mesh_conv.c
Modified: branches/bmesh/blender/source/blender/bmesh/operators/mesh_conv.c
===================================================================
--- branches/bmesh/blender/source/blender/bmesh/operators/mesh_conv.c 2012-01-05 13:16:31 UTC (rev 43167)
+++ branches/bmesh/blender/source/blender/bmesh/operators/mesh_conv.c 2012-01-05 13:21:01 UTC (rev 43168)
@@ -473,6 +473,9 @@
CustomData_add_layer(&me->edata, CD_MEDGE, CD_ASSIGN, medge, me->totedge);
CustomData_add_layer(&me->ldata, CD_MLOOP, CD_ASSIGN, mloop, me->totloop);
CustomData_add_layer(&me->pdata, CD_MPOLY, CD_ASSIGN, mpoly, me->totpoly);
+
+ /* this is called again, 'dotess' arg is used there */
+ mesh_update_customdata_pointers(me, 0);
i = 0;
BM_ITER(v, &iter, bm, BM_VERTS_OF_MESH, NULL) {
More information about the Bf-blender-cvs
mailing list