[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [55260] trunk/blender/source/blender/ editors/sculpt_paint/paint_vertex.c: Bah...careless! Sorry for that :/

Antony Riakiotakis kalast at gmail.com
Thu Mar 14 04:48:46 CET 2013


Revision: 55260
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=55260
Author:   psy-fi
Date:     2013-03-14 03:48:46 +0000 (Thu, 14 Mar 2013)
Log Message:
-----------
Bah...careless! Sorry for that :/

Modified Paths:
--------------
    trunk/blender/source/blender/editors/sculpt_paint/paint_vertex.c

Modified: trunk/blender/source/blender/editors/sculpt_paint/paint_vertex.c
===================================================================
--- trunk/blender/source/blender/editors/sculpt_paint/paint_vertex.c	2013-03-14 03:47:20 UTC (rev 55259)
+++ trunk/blender/source/blender/editors/sculpt_paint/paint_vertex.c	2013-03-14 03:48:46 UTC (rev 55260)
@@ -881,8 +881,8 @@
 			return BKE_brush_curve_strength_clamp(brush, dist, brush_size_pressure);
 		}
 	}
-
-	zero_v4(rgba);
+	if(rgba)
+		zero_v4(rgba);
 	return 0.0f;
 }
 




More information about the Bf-blender-cvs mailing list