Commit: dc738de90c1ca98dbb43fe4678c900d690c895be
Author: Joseph Eagar
Date:   Fri Aug 6 18:39:54 2021 -0700
Branches: temp_bmesh_multires
https://developer.blender.org/rBdc738de90c1ca98dbb43fe4678c900d690c895be

Sculpt dyntopo: Fix bug in cleanup_valence_3_4

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

M       source/blender/blenkernel/intern/dyntopo.c

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

diff --git a/source/blender/blenkernel/intern/dyntopo.c 
b/source/blender/blenkernel/intern/dyntopo.c
index 49da8fcd8e4..ed5add38414 100644
--- a/source/blender/blenkernel/intern/dyntopo.c
+++ b/source/blender/blenkernel/intern/dyntopo.c
@@ -2737,7 +2737,7 @@ cleanup_valence_3_4(PBVH *pbvh,
 
       BMFace *f1 = NULL;
       if (vs[0] != vs[1] && vs[1] != vs[2] && vs[0] != vs[2]) {
-        f1 = pbvh_bmesh_face_create(pbvh, n, vs, NULL, l->f, false, false);
+        f1 = pbvh_bmesh_face_create(pbvh, n, vs, NULL, l->f, true, false);
         normal_tri_v3(
             f1->no, f1->l_first->v->co, f1->l_first->next->v->co, 
f1->l_first->prev->v->co);
       }
@@ -2755,7 +2755,7 @@ cleanup_valence_3_4(PBVH *pbvh,
           example = v->e->l->f;
         }
 
-        BMFace *f2 = pbvh_bmesh_face_create(pbvh, n, vs, NULL, example, false, 
false);
+        BMFace *f2 = pbvh_bmesh_face_create(pbvh, n, vs, NULL, example, true, 
false);
 
         CustomData_bmesh_swap_data_simple(
             &pbvh->bm->ldata, &f2->l_first->prev->head.data, 
&ls[3]->head.data);

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to