[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [58410] branches/soc-2013-paint/source/ blender/editors/sculpt_paint/paint_stroke.c: Fix first dab being full strength

Antony Riakiotakis kalast at gmail.com
Fri Jul 19 17:52:04 CEST 2013


Revision: 58410
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=58410
Author:   psy-fi
Date:     2013-07-19 15:52:03 +0000 (Fri, 19 Jul 2013)
Log Message:
-----------
Fix first dab being full strength

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

Modified: branches/soc-2013-paint/source/blender/editors/sculpt_paint/paint_stroke.c
===================================================================
--- branches/soc-2013-paint/source/blender/editors/sculpt_paint/paint_stroke.c	2013-07-19 15:27:34 UTC (rev 58409)
+++ branches/soc-2013-paint/source/blender/editors/sculpt_paint/paint_stroke.c	2013-07-19 15:52:03 UTC (rev 58410)
@@ -806,9 +806,9 @@
 	 * instead of waiting till we have moved the space distance */
 	if (first_dab &&
 	    paint_space_stroke_enabled(stroke->brush, mode) &&
-	    !(stroke->brush->flag & BRUSH_ANCHORED) &&
 	    !(stroke->brush->flag & BRUSH_SMOOTH_STROKE))
 	{
+		stroke->ups->overlap_factor = paint_stroke_integrate_overlap(stroke->brush, stroke->brush->spacing);
 		paint_brush_stroke_add_step(C, op, mouse, pressure);
 		redraw = true;
 	}




More information about the Bf-blender-cvs mailing list