[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [57640] branches/soc-2013-paint/source/ blender/editors/sculpt_paint/paint_image_2d.c: Yet another small fix for 2d painting with mask pressure: Make sure the

Antony Riakiotakis kalast at gmail.com
Fri Jun 21 19:04:07 CEST 2013


Revision: 57640
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=57640
Author:   psy-fi
Date:     2013-06-21 17:04:07 +0000 (Fri, 21 Jun 2013)
Log Message:
-----------
Yet another small fix for 2d painting with mask pressure: Make sure the
brush texture is recreated always in that case (possibly should check
the actual brush pressure but it will make little difference).

Modified Paths:
--------------
    branches/soc-2013-paint/source/blender/editors/sculpt_paint/paint_image_2d.c

Modified: branches/soc-2013-paint/source/blender/editors/sculpt_paint/paint_image_2d.c
===================================================================
--- branches/soc-2013-paint/source/blender/editors/sculpt_paint/paint_image_2d.c	2013-06-21 17:04:02 UTC (rev 57639)
+++ branches/soc-2013-paint/source/blender/editors/sculpt_paint/paint_image_2d.c	2013-06-21 17:04:07 UTC (rev 57640)
@@ -605,7 +605,8 @@
 	    brush->jitter != cache->lastjitter ||
 	    tex_rotation != cache->last_tex_rotation ||
 	    mask_rotation != cache->last_mask_rotation ||
-	    do_random)
+	    do_random ||
+	    brush->mask_pressure)
 	{
 		if (cache->ibuf) {
 			IMB_freeImBuf(cache->ibuf);




More information about the Bf-blender-cvs mailing list