[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [12590] branches/harmonic-skeleton/blender /source/blender/src/reeb.c: small debug code and cursor change on start.

Martin Poirier theeth at yahoo.com
Wed Nov 14 22:26:22 CET 2007


Revision: 12590
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=12590
Author:   theeth
Date:     2007-11-14 22:26:22 +0100 (Wed, 14 Nov 2007)

Log Message:
-----------
small debug code and cursor change on start.

Modified Paths:
--------------
    branches/harmonic-skeleton/blender/source/blender/src/reeb.c

Modified: branches/harmonic-skeleton/blender/source/blender/src/reeb.c
===================================================================
--- branches/harmonic-skeleton/blender/source/blender/src/reeb.c	2007-11-14 21:19:49 UTC (rev 12589)
+++ branches/harmonic-skeleton/blender/source/blender/src/reeb.c	2007-11-14 21:26:22 UTC (rev 12590)
@@ -32,6 +32,7 @@
 
 #include "DNA_listBase.h"
 #include "DNA_scene_types.h"
+#include "DNA_space_types.h"
 #include "DNA_meshdata_types.h"
 
 #include "MEM_guardedalloc.h"
@@ -47,6 +48,7 @@
 #include "BIF_editarmature.h"
 #include "BIF_interface.h"
 #include "BIF_toolbox.h"
+#include "BIF_graphics.h"
 
 #include "BKE_global.h"
 #include "BKE_utildefines.h"
@@ -1929,8 +1931,12 @@
 	if (em == NULL)
 		return;
 
+	setcursor_space(SPACE_VIEW3D, CURSOR_WAIT);
+
 	weightFromDistance(em);
+	printf("-------------- DISTANCE\n");
 	weightToHarmonic(em);
+	printf("-------------- HARMONIC\n");
 		
 	renormalizeWeight(em, 1.0f);
 	weightToVCol(em);





More information about the Bf-blender-cvs mailing list