diff options
author | Pablo Dobarro <pablodp606@gmail.com> | 2020-07-19 21:32:24 +0300 |
---|---|---|
committer | Pablo Dobarro <pablodp606@gmail.com> | 2020-07-21 23:27:44 +0300 |
commit | a39da2cbca19102589d5141c80a6bc013bd4c963 (patch) | |
tree | 224c71be391e864a785840025b5e8ea89e0d02cb /source/blender/editors/sculpt_paint/sculpt_automasking.c | |
parent | 7aabd74222371097353b55cad8c782c6a2a13207 (diff) |
Fix T79056: Topology automasking artifacts in multires
Both to_v and form_v need to be included. From_v is needed to include
the active vertex when there is only one vertex in the radius of the
brush, to_v needs to be included to add all grids duplicates
Reviewed By: sergey
Maniphest Tasks: T79056
Differential Revision: https://developer.blender.org/D8347
Diffstat (limited to 'source/blender/editors/sculpt_paint/sculpt_automasking.c')
-rw-r--r-- | source/blender/editors/sculpt_paint/sculpt_automasking.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/sculpt_paint/sculpt_automasking.c b/source/blender/editors/sculpt_paint/sculpt_automasking.c index 7c8a5ce80d4..c475259623a 100644 --- a/source/blender/editors/sculpt_paint/sculpt_automasking.c +++ b/source/blender/editors/sculpt_paint/sculpt_automasking.c @@ -177,6 +177,7 @@ static bool automask_floodfill_cb( { AutomaskFloodFillData *data = userdata; + data->automask_factor[to_v] = 1.0f; data->automask_factor[from_v] = 1.0f; return (!data->use_radius || SCULPT_is_vertex_inside_brush_radius_symm( |