Fix T46126: Anchored sculpt fail when cursor leaves mesh
This commit is contained in:
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
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue