Fix T46126: Anchored sculpt fail when cursor leaves mesh

This commit is contained in:
Campbell Barton 2015-09-17 02:08:22 +10:00
parent cf4711bdf9
commit cb4e358735
Notes: blender-bot 2023-02-14 08:39:21 +01:00
Referenced by issue #46126, Anchored brush doesn't work properly
1 changed files with 1 additions and 0 deletions

View File

@ -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;