[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [57630] branches/soc-2013-paint/source/ blender/editors/sculpt_paint/paint_image_proj.c: Fix mask pressure masking issue in projection painting
Antony Riakiotakis
kalast at gmail.com
Fri Jun 21 12:35:47 CEST 2013
Revision: 57630
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=57630
Author: psy-fi
Date: 2013-06-21 10:35:47 +0000 (Fri, 21 Jun 2013)
Log Message:
-----------
Fix mask pressure masking issue in projection painting
Modified Paths:
--------------
branches/soc-2013-paint/source/blender/editors/sculpt_paint/paint_image_proj.c
Modified: branches/soc-2013-paint/source/blender/editors/sculpt_paint/paint_image_proj.c
===================================================================
--- branches/soc-2013-paint/source/blender/editors/sculpt_paint/paint_image_proj.c 2013-06-21 10:12:10 UTC (rev 57629)
+++ branches/soc-2013-paint/source/blender/editors/sculpt_paint/paint_image_proj.c 2013-06-21 10:35:47 UTC (rev 57630)
@@ -4120,7 +4120,8 @@
ps->is_maskbrush = false;
ps->is_maskbrush_tiled = false;
if (brush->mask_mtex.tex) {
- if (ELEM(brush->mask_mtex.brush_map_mode, MTEX_MAP_MODE_STENCIL, MTEX_MAP_MODE_TILED)) {
+ if (ELEM(brush->mask_mtex.brush_map_mode, MTEX_MAP_MODE_STENCIL, MTEX_MAP_MODE_TILED)
+ && !brush->mask_pressure) {
ps->is_maskbrush_tiled = true;
}
else {
More information about the Bf-blender-cvs
mailing list