Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2006-09-25 16:30:12 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2006-09-25 16:30:12 +0400
commit99c7e3cb9ef1d03d226d06e0ad48b7172559e246 (patch)
treec07aade8ea4cafcf358394aa0f1d10bb9cb6cbfa /source
parent01e7f02dcda1b603151e03c32f10868971b1362b (diff)
Last commit broke the smear brush, thanks Jens for spotting this.
Diffstat (limited to 'source')
-rw-r--r--source/blender/blenkernel/intern/brush.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/brush.c b/source/blender/blenkernel/intern/brush.c
index 36e8c2137cc..13f84246ded 100644
--- a/source/blender/blenkernel/intern/brush.c
+++ b/source/blender/blenkernel/intern/brush.c
@@ -763,6 +763,8 @@ int brush_painter_paint(BrushPainter *painter, BrushFunc func, float *pos, doubl
painter->lasttime= time;
painter->firsttouch= 0;
+ painter->lastpaintpos[0]= pos[0];
+ painter->lastpaintpos[1]= pos[1];
}
#if 0
else if (painter->brush->flag & BRUSH_AIRBRUSH) {