[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [12736] branches/harmonic-skeleton/blender /source/blender: Adding missing declaration in header and removing some debug prints.
Martin Poirier
theeth at yahoo.com
Fri Nov 30 21:54:35 CET 2007
Revision: 12736
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=12736
Author: theeth
Date: 2007-11-30 21:54:34 +0100 (Fri, 30 Nov 2007)
Log Message:
-----------
Adding missing declaration in header and removing some debug prints.
Modified Paths:
--------------
branches/harmonic-skeleton/blender/source/blender/include/reeb.h
branches/harmonic-skeleton/blender/source/blender/src/reeb.c
Modified: branches/harmonic-skeleton/blender/source/blender/include/reeb.h
===================================================================
--- branches/harmonic-skeleton/blender/source/blender/include/reeb.h 2007-11-30 15:12:31 UTC (rev 12735)
+++ branches/harmonic-skeleton/blender/source/blender/include/reeb.h 2007-11-30 20:54:34 UTC (rev 12736)
@@ -87,6 +87,7 @@
int weightToHarmonic(struct EditMesh *em);
int weightFromDistance(struct EditMesh *em);
int weightFromLoc(struct EditMesh *me, int axis);
+void weightToVCol(struct EditMesh *em);
void renormalizeWeight(struct EditMesh *em, float newmax);
ReebGraph * generateReebGraph(struct EditMesh *me, int subdivisions);
Modified: branches/harmonic-skeleton/blender/source/blender/src/reeb.c
===================================================================
--- branches/harmonic-skeleton/blender/source/blender/src/reeb.c 2007-11-30 15:12:31 UTC (rev 12735)
+++ branches/harmonic-skeleton/blender/source/blender/src/reeb.c 2007-11-30 20:54:34 UTC (rev 12736)
@@ -844,7 +844,6 @@
if (arc != rootArc)
{
ReebNode *newNode = OTHER_NODE(arc, node);
- printf("recurse\n");
depth = MAX2(depth, subtreeDepth(newNode, arc));
}
}
@@ -982,9 +981,6 @@
{
ReebArc *nextArc = findConnectedArc(rg, arc, arc->v1);
- if (nextArc == NULL)
- printf("uhm1\n");
-
// Merge arc only if needed
if (arc->v1 == nextArc->v2)
{
@@ -1002,9 +998,6 @@
{
ReebArc *nextArc = findConnectedArc(rg, arc, arc->v2);
- if (nextArc == NULL)
- printf("uhm %p\n", arc->v2);
-
// Merge arc only if needed
if (arc->v2 == nextArc->v1)
{
@@ -1043,15 +1036,6 @@
result = nextEdge->arc;
}
-#if 0
- if (result == arc)
- {
- printf("WTF");
- getchar();
- exit(1);
- }
-#endif
-
return result;
}
More information about the Bf-blender-cvs
mailing list