[Bf-blender-cvs] [a39da2cbca1] master: Fix T79056: Topology automasking artifacts in multires

Pablo Dobarro noreply at git.blender.org
Tue Jul 21 22:28:06 CEST 2020


Commit: a39da2cbca19102589d5141c80a6bc013bd4c963
Author: Pablo Dobarro
Date:   Sun Jul 19 20:32:24 2020 +0200
Branches: master
https://developer.blender.org/rBa39da2cbca19102589d5141c80a6bc013bd4c963

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

===================================================================

M	source/blender/editors/sculpt_paint/sculpt_automasking.c

===================================================================

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(



More information about the Bf-blender-cvs mailing list