Weisl / simple_collider

This addon allows you to create collider meshes more easily. It provides different operators to generate primitve colliders or convex mesh colliders out of a selection.
GNU General Public License v3.0
35 stars 7 forks source link

Error: Maximum recusrsion Depth reached #439

Closed Weisl closed 1 year ago

Weisl commented 1 year ago

Error: Python: Traceback (most recent call last): File "C:\Users\Documents\Github_blender_scripts\addons\collider_tools\collider_shapes\add_bounding_box.py", line 31, in modal status = super().modal(context, event) File "C:\Users\Documents\Github_blender_scripts\addons\collider_tools\collider_shapes\add_bounding_primitive.py", line 1474, in modal self.execute(context) File "C:\Users\Documents\Github_blender_scripts\addons\collider_tools\collider_shapes\add_bounding_box.py", line 65, in execute objs = self.get_pre_processed_mesh_objs(context, use_local=True, local_world_spc=False, default_world_spc=True) File "C:\Users\Documents\Github_blender_scripts\addons\collider_tools\collider_shapes\add_bounding_primitive.py", line 1045, in get_pre_processed_mesh_objs split_objs = create_objs_from_island(base, use_world=local_world_spc) File "C:\Users\Documents\Github_blender_scripts\addons\collider_tools\bmesh_operations\mesh_split_by_island.py", line 89, in create_objs_from_island face_islands = get_face_islands(bm, bm.faces, face_islands) File "C:\Users\Documents\Github_blender_scripts\addons\collider_tools\bmesh_operations\mesh_split_by_island.py", line 66, in get_face_islands linked_faces = get_linked_faces(faces[0]) File "C:\Users\Documents\Github_blender_scripts\addons\collider_tools\bmesh_operations\mesh_split_by_island.py", line 25, in get_linked_faces f_linked.extend(get_linked_faces(elem)) File "C:\Users\Documents\Github_blender_scripts\addons\collider_tools\bmesh_operations\mesh_split_by_island.py", line 25, in get_linked_faces f_linked.extend(get_linked_faces(elem)) File "C:\Users\Documents\Github_blender_scripts\addons\collider_tools\bmesh_operations\mesh_split_by_island.py", line 25, in get_linked_faces

https://github.com/Weisl/Collider-Tools/assets/6353016/2b886073-6b97-4b67-8617-6af4e6c4f6ef

f_linked.extend(get_linked_faces(elem))

[Previous line repeated 989 more times] File "C:\Users\Documents\Github_blender_scripts\addons\collider_tools\bmesh_operations\mesh_split_by_island.py", line 16, in get_linked_faces edges = [e for e in f.edges if len(e.link_faces) == 2] File "C:\Users\Documents\Github_blender_scripts\addons\collider_tools\bmesh_operations\mesh_split_by_island.py", line 16, in edges = [e for e in f.edges if len(e.link_faces) == 2] RecursionError: maximum recursion depth exceeded while calling a Python object