diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-09-16 19:08:22 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-09-16 19:14:56 +0300 |
commit | cb4e3587353c0f477feef459e12ff14872143c9c (patch) | |
tree | d234aadc27aa293200ae34ecdea008bf51e67e1b /source/blender/editors/sculpt_paint/paint_stroke.c | |
parent | cf4711bdf944f5a6d067352e071a476ba11579a0 (diff) |
Fix T46126: Anchored sculpt fail when cursor leaves mesh
Diffstat (limited to 'source/blender/editors/sculpt_paint/paint_stroke.c')
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_stroke.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_stroke.c b/source/blender/editors/sculpt_paint/paint_stroke.c index 6dc1855401d..b1ddf1172c8 100644 --- a/source/blender/editors/sculpt_paint/paint_stroke.c +++ b/source/blender/editors/sculpt_paint/paint_stroke.c @@ -347,6 +347,7 @@ static bool paint_brush_update(bContext *C, } else { copy_v2_v2(ups->anchored_initial_mouse, stroke->initial_mouse); + copy_v2_v2(mouse, stroke->initial_mouse); stroke->stroke_distance = ups->pixel_radius; } ups->pixel_radius /= stroke->zoom_2d; |