[Bf-blender-cvs] [4fa6ce09734] master: Sculpt: Expand NORMALS and TOPOLOGY_DIAGNAL falloff now check islands

Joseph Eagar noreply at git.blender.org
Fri Jan 20 02:56:28 CET 2023


Commit: 4fa6ce09734d113b4fe0d2745b07a0cd9331f6d2
Author: Joseph Eagar
Date:   Thu Jan 19 17:55:25 2023 -0800
Branches: master
https://developer.blender.org/rB4fa6ce09734d113b4fe0d2745b07a0cd9331f6d2

Sculpt: Expand NORMALS and TOPOLOGY_DIAGNAL falloff now check islands

Prevents disconnect parts of the mesh from having their masks
filled.

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

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

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

diff --git a/source/blender/editors/sculpt_paint/sculpt_expand.c b/source/blender/editors/sculpt_paint/sculpt_expand.c
index 069f943dc41..e1980f0ff6b 100644
--- a/source/blender/editors/sculpt_paint/sculpt_expand.c
+++ b/source/blender/editors/sculpt_paint/sculpt_expand.c
@@ -397,7 +397,9 @@ static void sculpt_expand_check_topology_islands(Object *ob)
   ss->expand_cache->check_islands = ELEM(ss->expand_cache->falloff_type,
                                          SCULPT_EXPAND_FALLOFF_GEODESIC,
                                          SCULPT_EXPAND_FALLOFF_TOPOLOGY,
-                                         SCULPT_EXPAND_FALLOFF_BOUNDARY_TOPOLOGY);
+                                         SCULPT_EXPAND_FALLOFF_TOPOLOGY_DIAGONALS,
+                                         SCULPT_EXPAND_FALLOFF_BOUNDARY_TOPOLOGY,
+                                         SCULPT_EXPAND_FALLOFF_NORMALS);
 
   if (ss->expand_cache->check_islands) {
     SCULPT_topology_islands_ensure(ob);



More information about the Bf-blender-cvs mailing list