[Bf-blender-cvs] [b82a2fd9ab1] sculpt-dev: Fix wrong visibility flush with Face Sets

Pablo Dobarro noreply at git.blender.org
Sun Apr 18 20:11:47 CEST 2021


Commit: b82a2fd9ab1ad3f2e00fe78e5c16afd15aafb92c
Author: Pablo Dobarro
Date:   Sun Apr 18 19:36:44 2021 +0200
Branches: sculpt-dev
https://developer.blender.org/rBb82a2fd9ab1ad3f2e00fe78e5c16afd15aafb92c

Fix wrong visibility flush with Face Sets

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

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

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

diff --git a/source/blender/editors/sculpt_paint/sculpt_face_set.c b/source/blender/editors/sculpt_paint/sculpt_face_set.c
index 49884ac4a1c..29c3c7f1184 100644
--- a/source/blender/editors/sculpt_paint/sculpt_face_set.c
+++ b/source/blender/editors/sculpt_paint/sculpt_face_set.c
@@ -948,10 +948,6 @@ static int sculpt_face_sets_change_visibility_exec(bContext *C, wmOperator *op)
 
   MEM_SAFE_FREE(nodes);
 
-  if (BKE_pbvh_type(pbvh) == PBVH_FACES) {
-    BKE_mesh_flush_hidden_from_verts(ob->data);
-  }
-
   SCULPT_tag_update_overlays(C);
 
   return OPERATOR_FINISHED;



More information about the Bf-blender-cvs mailing list