Skip to content

Commit

Permalink
- fix #5131 If no output sockets are connected to the node adaptive e…
Browse files Browse the repository at this point in the history
…dges then skip node.
  • Loading branch information
satabol committed Jul 15, 2024
1 parent fe6f8b2 commit e61d5b6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nodes/modifier_make/edges_adaptative.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,8 @@ def sv_init(self, context):
def process(self):
if not all(s.is_linked for s in self.inputs if s.name in ['adaptive_verts', 'adaptive_edges', 'mesh_verts', 'mesh_edges']):
return
if not any(socket.is_linked for socket in self.outputs):
return

adaptive_verts_in = self.inputs['adaptive_verts'].sv_get()
mesh_verts_in = self.inputs['mesh_verts'].sv_get()
Expand Down

0 comments on commit e61d5b6

Please sign in to comment.