[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [57632] branches/soc-2013-paint/source/ blender/editors/sculpt_paint/paint_image_2d.c: Fix 2D painting masking for pressure masking.
Antony Riakiotakis
kalast at gmail.com
Fri Jun 21 13:58:42 CEST 2013
Revision: 57632
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=57632
Author: psy-fi
Date: 2013-06-21 11:58:41 +0000 (Fri, 21 Jun 2013)
Log Message:
-----------
Fix 2D painting masking for pressure masking. I need to understand
better the new 2d paint code but luckilly the fix is simple!
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 10:35:52 UTC (rev 57631)
+++ branches/soc-2013-paint/source/blender/editors/sculpt_paint/paint_image_2d.c 2013-06-21 11:58:41 UTC (rev 57632)
@@ -587,7 +587,7 @@
}
else if (brush->mask_mtex.brush_map_mode == MTEX_MAP_MODE_RANDOM)
do_random = true;
- else
+ else if (!brush->mask_pressure)
do_partial_update = true;
brush_painter_2d_tex_mapping(s, size, painter->startpaintpos, pos, mouse,
More information about the Bf-blender-cvs
mailing list