Skip to content

Commit 7d1ebe6

Browse files
authored
Merge pull request #2731 from alicevision/fix/listOutputConnections
[core] attribute: Fix `hasOutputConnections` for ListAttributes
2 parents 4ad1de2 + a293c67 commit 7d1ebe6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

meshroom/core/attribute.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -765,7 +765,7 @@ def hasOutputConnections(self):
765765
if not self.node.graph or not self.node.graph.edges:
766766
return False
767767

768-
return next((edge for edge in self.node.graph.edges.values() if edge.src in self._value), None) is not None or \
768+
return next((edge for edge in self.node.graph.edges.values() if edge.src == self), None) is not None or \
769769
any(attr.hasOutputConnections for attr in self._value if hasattr(attr, 'hasOutputConnections'))
770770

771771
# override

0 commit comments

Comments
 (0)