[Bf-blender-cvs] [b106caef826] temp-modifier-rm-cddm: Removing commented-out code

Sybren A. Stüvel noreply at git.blender.org
Tue May 1 11:53:20 CEST 2018


Commit: b106caef82687a68eb9f20e3a73d42b3edcbf3c2
Author: Sybren A. Stüvel
Date:   Tue May 1 11:03:09 2018 +0200
Branches: temp-modifier-rm-cddm
https://developer.blender.org/rBb106caef82687a68eb9f20e3a73d42b3edcbf3c2

Removing commented-out code

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

M	source/blender/blenkernel/intern/customdata.c
M	source/blender/blenkernel/intern/mesh.c

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

diff --git a/source/blender/blenkernel/intern/customdata.c b/source/blender/blenkernel/intern/customdata.c
index 40416d67c99..9c0ace2f654 100644
--- a/source/blender/blenkernel/intern/customdata.c
+++ b/source/blender/blenkernel/intern/customdata.c
@@ -2206,10 +2206,6 @@ void CustomData_copy_data(const CustomData *source, CustomData *dest,
 {
 	int src_i, dest_i;
 
-//	printf("Copying custom data %p -> %p (totlayer = %d -> %d) source_index=%d  dest_index=%d  count=%d\n",
-//	       source, dest, source->totlayer, dest->totlayer,
-//	       source_index, dest_index, count);
-
 	/* copies a layer at a time */
 	dest_i = 0;
 	for (src_i = 0; src_i < source->totlayer; ++src_i) {
@@ -2226,8 +2222,6 @@ void CustomData_copy_data(const CustomData *source, CustomData *dest,
 
 		/* if we found a matching layer, copy the data */
 		if (dest->layers[dest_i].type == source->layers[src_i].type) {
-//			printf("    CustomData_copy_data_layer(%p, %p, %d, %d, %d, %d, %d)\n",
-//			       source, dest, src_i, dest_i, source_index, dest_index, count);
 			CustomData_copy_data_layer(source, dest, src_i, dest_i, source_index, dest_index, count);
 			
 			/* if there are multiple source & dest layers of the same type,
diff --git a/source/blender/blenkernel/intern/mesh.c b/source/blender/blenkernel/intern/mesh.c
index 62ed9ae5d66..5e1a30edbce 100644
--- a/source/blender/blenkernel/intern/mesh.c
+++ b/source/blender/blenkernel/intern/mesh.c
@@ -626,7 +626,6 @@ static Mesh *mesh_from_template_ex(
 
 	me_dst->mat = MEM_dupallocN(me_src->mat);
 	me_dst->mselect = MEM_dupallocN(me_dst->mselect);
-//	me_dst->bb = MEM_dupallocN(me_dst->bb);
 
 	me_dst->totvert = numVerts;
 	me_dst->totedge = numEdges;



More information about the Bf-blender-cvs mailing list