From 6e7b8a1497ac704ba15025a906c8a3d42c850d5c Mon Sep 17 00:00:00 2001 From: Matthias Patscheider Date: Sun, 13 Aug 2023 19:32:29 +0300 Subject: [PATCH 1/2] #440 Error for Auto Convex --- bmesh_operations/mesh_edit.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bmesh_operations/mesh_edit.py b/bmesh_operations/mesh_edit.py index 49d4a6d..f8a0275 100644 --- a/bmesh_operations/mesh_edit.py +++ b/bmesh_operations/mesh_edit.py @@ -24,7 +24,10 @@ def bmesh_join(list_of_bmeshes, list_of_matrices, normal_update=False): if bm_to_add.faces: for face in bm_to_add.faces: - add_face(tuple(bm.verts[i.index + offset] for i in face.verts)) + try: + add_face(tuple(bm.verts[i.index + offset] for i in face.verts)) + except: + pass bm.faces.index_update() if bm_to_add.edges: From 64567dd203b82d2263049324797d258b3e3ec9aa Mon Sep 17 00:00:00 2001 From: Matthias Patscheider Date: Sun, 13 Aug 2023 19:40:37 +0300 Subject: [PATCH 2/2] #442 --- bmesh_operations/mesh_split_by_island.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bmesh_operations/mesh_split_by_island.py b/bmesh_operations/mesh_split_by_island.py index b11c918..9e3bb02 100644 --- a/bmesh_operations/mesh_split_by_island.py +++ b/bmesh_operations/mesh_split_by_island.py @@ -1,9 +1,11 @@ import bpy import bmesh +import sys # Simple - get all linked faces def get_linked_faces(f): + sys.setrecursionlimit(10**6) if f.tag: # If the face is already tagged, return empty list return []