[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [29100] branches/soc-2010-jwilkins/source/ blender/editors/sculpt_paint/paint_stroke.c: when spacing is enabled puts the first daub at the start location of the brush instead of waiting till the space distance has been moved .
Tom Musgrove
LetterRip at gmail.com
Mon May 31 10:22:21 CEST 2010
Revision: 29100
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=29100
Author: letterrip
Date: 2010-05-31 10:22:20 +0200 (Mon, 31 May 2010)
Log Message:
-----------
when spacing is enabled puts the first daub at the start location of the brush instead of waiting till the space distance has been moved.
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 06:01:12 UTC (rev 29099)
+++ branches/soc-2010-jwilkins/source/blender/editors/sculpt_paint/paint_stroke.c 2010-05-31 08:22:20 UTC (rev 29100)
@@ -293,7 +293,10 @@
;//ED_region_tag_redraw(ar);
}
}
-
+ /* 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))
+ paint_brush_stroke_add_step(C, op, event, mouse);
+
return OPERATOR_RUNNING_MODAL;
}
More information about the Bf-blender-cvs
mailing list