[Bf-blender-cvs] [e177aea] mesh-transfer-data: Minor comment fix.

Bastien Montagne noreply at git.blender.org
Fri Nov 21 23:56:09 CET 2014


Commit: e177aead942efb80cbfb0f6fae8b04243bf8ddd1
Author: Bastien Montagne
Date:   Fri Nov 21 23:47:22 2014 +0100
Branches: mesh-transfer-data
https://developer.blender.org/rBe177aead942efb80cbfb0f6fae8b04243bf8ddd1

Minor comment fix.

===================================================================

M	source/blender/blenkernel/intern/mesh_remap.c

===================================================================

diff --git a/source/blender/blenkernel/intern/mesh_remap.c b/source/blender/blenkernel/intern/mesh_remap.c
index b2c7293..08a5fa3 100644
--- a/source/blender/blenkernel/intern/mesh_remap.c
+++ b/source/blender/blenkernel/intern/mesh_remap.c
@@ -924,6 +924,8 @@ void BKE_mesh_remap_calc_loops_from_dm(
 			num_trees = use_islands ? island_store.islands_num : 1;
 			treedata = MEM_callocN(sizeof(*treedata) * (size_t)num_trees, __func__);
 
+			printf("%d\n", num_trees);
+
 			if (use_islands) {
 				/* We expect our islands to contain poly indices, and a mapping loops -> islands indices.
 				 * This implies all loops of a same poly are in the same island. */
@@ -1199,7 +1201,7 @@ void BKE_mesh_remap_calc_loops_from_dm(
 						}
 					}
 					else {
-						/* Else, we use source poly, indices stored in facs are those of polygons. */
+						/* Else, we use source poly, indices stored in islands_res are those of polygons. */
 						pidx_src = isld_res->index_src;
 						if (pidx_src >= 0) {
 							MPoly *mp_src = &polys_src[pidx_src];




More information about the Bf-blender-cvs mailing list