[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [29102] branches/soc-2010-jwilkins/source/ blender/editors/sculpt_paint/paint_stroke.c: need to check if anchored to do the first daub for a spaced stroke
Tom Musgrove
LetterRip at gmail.com
Mon May 31 11:03:54 CEST 2010
Revision: 29102
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=29102
Author: letterrip
Date: 2010-05-31 11:03:54 +0200 (Mon, 31 May 2010)
Log Message:
-----------
need to check if anchored to do the first daub for a spaced stroke
Modified Paths:
--------------
branches/soc-2010-jwilkins/source/blender/editors/sculpt_paint/paint_stroke.c
Modified: branches/soc-2010-jwilkins/source/blender/editors/sculpt_paint/paint_stroke.c
===================================================================
--- branches/soc-2010-jwilkins/source/blender/editors/sculpt_paint/paint_stroke.c 2010-05-31 08:43:23 UTC (rev 29101)
+++ branches/soc-2010-jwilkins/source/blender/editors/sculpt_paint/paint_stroke.c 2010-05-31 09:03:54 UTC (rev 29102)
@@ -294,7 +294,7 @@
}
}
/* we want the stroke to have the first daub at the start location instead of waiting till we have moved the space distance */
- if(first && paint_space_stroke_enabled(stroke->brush))
+ if(first && paint_space_stroke_enabled(stroke->brush) && !(stroke->brush->flag & BRUSH_ANCHORED))
paint_brush_stroke_add_step(C, op, event, mouse);
return OPERATOR_RUNNING_MODAL;
More information about the Bf-blender-cvs
mailing list