[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [59168] branches/ soc-2013-meshdata_transfer/source/blender/bmesh/tools/bmesh_data_transfer.c : multi layer UV transfer: counter reset fix after each layer
Walid Shouman
eng.walidshouman at gmail.com
Fri Aug 16 00:09:30 CEST 2013
Revision: 59168
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=59168
Author: walid
Date: 2013-08-15 22:09:29 +0000 (Thu, 15 Aug 2013)
Log Message:
-----------
multi layer UV transfer: counter reset fix after each layer
Modified Paths:
--------------
branches/soc-2013-meshdata_transfer/source/blender/bmesh/tools/bmesh_data_transfer.c
Modified: branches/soc-2013-meshdata_transfer/source/blender/bmesh/tools/bmesh_data_transfer.c
===================================================================
--- branches/soc-2013-meshdata_transfer/source/blender/bmesh/tools/bmesh_data_transfer.c 2013-08-15 14:28:04 UTC (rev 59167)
+++ branches/soc-2013-meshdata_transfer/source/blender/bmesh/tools/bmesh_data_transfer.c 2013-08-15 22:09:29 UTC (rev 59168)
@@ -2541,12 +2541,9 @@
//commenting this would leave us with the output of interpolation for each face ^_^
copy_v2_v2(BM_ELEM_CD_GET_VOID_P(l_grp[h].l[i], CD_dst), mid_uv);
}
+ //this would make the l_grp[h].l hidden for the function; to avoid unnessecery realloc/memsetting
+ l_grp[h].count = 0;
}
-
- //reset the faces for the next addition to the fl_table
- BM_ITER_MESH_INDEX (f_src, &fiter, bm_src, BM_FACES_OF_MESH, b) {
- fl_table[b].f = NULL;
- }
}
//Free loops
More information about the Bf-blender-cvs
mailing list