[Bf-blender-cvs] [ac431c17f4f] soc-2021-adaptive-cloth: adaptive_cloth: Mesh: make split_edge_triangulate() work with new deletion methods

ishbosamiya noreply at git.blender.org
Mon Jul 12 08:23:53 CEST 2021


Commit: ac431c17f4f7c62c3be76902f286fb7282a51f54
Author: ishbosamiya
Date:   Sun Jul 11 18:05:59 2021 +0530
Branches: soc-2021-adaptive-cloth
https://developer.blender.org/rBac431c17f4f7c62c3be76902f286fb7282a51f54

adaptive_cloth: Mesh: make split_edge_triangulate() work with new deletion methods

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

M	source/blender/blenkernel/BKE_cloth_remesh.hh

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

diff --git a/source/blender/blenkernel/BKE_cloth_remesh.hh b/source/blender/blenkernel/BKE_cloth_remesh.hh
index d6dac0255c0..e09141441d0 100644
--- a/source/blender/blenkernel/BKE_cloth_remesh.hh
+++ b/source/blender/blenkernel/BKE_cloth_remesh.hh
@@ -1404,6 +1404,7 @@ template<typename END, typename EVD, typename EED, typename EFD> class Mesh {
       auto faces = edge_b.faces;
 
       for (const auto &face_index : faces) {
+        this->delink_face_edges(face_index);
         auto face = this->delete_face(face_index);
 
         /* Ensure the faces are triangulated before calling this function */



More information about the Bf-blender-cvs mailing list