[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [47012] branches/soc-2011-tomato/source/ blender/blenkernel/intern/mask.c: print frame bumbers when printing shapes that mismatch

Campbell Barton ideasman42 at gmail.com
Fri May 25 14:06:12 CEST 2012


Revision: 47012
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=47012
Author:   campbellbarton
Date:     2012-05-25 12:06:10 +0000 (Fri, 25 May 2012)
Log Message:
-----------
print frame bumbers when printing shapes that mismatch

Modified Paths:
--------------
    branches/soc-2011-tomato/source/blender/blenkernel/intern/mask.c

Modified: branches/soc-2011-tomato/source/blender/blenkernel/intern/mask.c
===================================================================
--- branches/soc-2011-tomato/source/blender/blenkernel/intern/mask.c	2012-05-25 11:51:56 UTC (rev 47011)
+++ branches/soc-2011-tomato/source/blender/blenkernel/intern/mask.c	2012-05-25 12:06:10 UTC (rev 47012)
@@ -1118,7 +1118,8 @@
 		}
 	}
 	else {
-		printf("%s: vert mismatch %d != %d\n", __func__, maskobj_shape->tot_vert, tot);
+		printf("%s: vert mismatch %d != %d (frame %d)\n",
+		       __func__, maskobj_shape->tot_vert, tot, maskobj_shape->frame);
 	}
 }
 
@@ -1139,7 +1140,8 @@
 		}
 	}
 	else {
-		printf("%s: vert mismatch %d != %d\n", __func__, maskobj_shape->tot_vert, tot);
+		printf("%s: vert mismatch %d != %d (frame %d)\n",
+		       __func__, maskobj_shape->tot_vert, tot, maskobj_shape->frame);
 	}
 }
 
@@ -1177,8 +1179,9 @@
 		}
 	}
 	else {
-		printf("%s: vert mismatch %d != %d != %d\n",
-		       __func__, maskobj_shape_a->tot_vert, maskobj_shape_b->tot_vert, tot);
+		printf("%s: vert mismatch %d != %d != %d (frame %d - %d)\n",
+		       __func__, maskobj_shape_a->tot_vert, maskobj_shape_b->tot_vert, tot,
+		       maskobj_shape_a->frame, maskobj_shape_b->frame);
 	}
 }
 
@@ -1417,7 +1420,8 @@
 				maskobj_shape->data = data_resized;
 			}
 			else {
-				printf("%s: vert mismatch %d != %d\n", __func__, maskobj_shape->tot_vert, tot);
+				printf("%s: vert mismatch %d != %d (frame %d)\n",
+				       __func__, maskobj_shape->tot_vert, tot, maskobj_shape->frame);
 			}
 		}
 	}




More information about the Bf-blender-cvs mailing list