[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [47368] trunk/blender: quiet warnings

Campbell Barton ideasman42 at gmail.com
Sun Jun 3 12:33:29 CEST 2012


Revision: 47368
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=47368
Author:   campbellbarton
Date:     2012-06-03 10:33:28 +0000 (Sun, 03 Jun 2012)
Log Message:
-----------
quiet warnings

Modified Paths:
--------------
    trunk/blender/release/scripts/startup/bl_operators/wm.py
    trunk/blender/source/blender/editors/sculpt_paint/paint_vertex.c

Modified: trunk/blender/release/scripts/startup/bl_operators/wm.py
===================================================================
--- trunk/blender/release/scripts/startup/bl_operators/wm.py	2012-06-03 10:23:48 UTC (rev 47367)
+++ trunk/blender/release/scripts/startup/bl_operators/wm.py	2012-06-03 10:33:28 UTC (rev 47368)
@@ -845,10 +845,13 @@
 
     @staticmethod
     def _find_reference(rna_id, url_mapping):
+        print("online manual check for: '%s' ... " % rna_id, end="")
         from re import match
         for pattern, url_suffix in url_mapping:
             if match(pattern, rna_id):
+                print("match found:", pattern)
                 return url_suffix
+        print("match not found")
         return None
 
     def execute(self, context):

Modified: trunk/blender/source/blender/editors/sculpt_paint/paint_vertex.c
===================================================================
--- trunk/blender/source/blender/editors/sculpt_paint/paint_vertex.c	2012-06-03 10:23:48 UTC (rev 47367)
+++ trunk/blender/source/blender/editors/sculpt_paint/paint_vertex.c	2012-06-03 10:33:28 UTC (rev 47368)
@@ -1877,7 +1877,7 @@
 		/* use locks and/or multipaint */
 		float oldw;
 		float neww;
-		float testw = 0;
+		/* float testw = 0; */ /* UNUSED */
 		float observedChange = 0;
 		float change = 0;
 		float oldChange = 0;
@@ -1912,7 +1912,7 @@
 				if (change && tdw_prev->weight && tdw_prev->weight * change) {
 					if (tdw->weight != tdw_prev->weight) {
 						oldChange = tdw->weight / tdw_prev->weight;
-						testw = tdw_prev->weight * change;
+						/* testw = tdw_prev->weight * change; */ /* UNUSED */
 						if (observedChange > 0) {
 							if (change > oldChange) {
 								/* reset the weights and use the new change */




More information about the Bf-blender-cvs mailing list