mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-07-24 20:17:17 +02:00
[core] fix node depth computation
This commit is contained in:
parent
505989cfcc
commit
ce6925117a
1 changed files with 1 additions and 1 deletions
|
@ -680,7 +680,7 @@ class Graph(BaseObject):
|
|||
if not inputEdges:
|
||||
return 0
|
||||
inputDepths = [e.src.node.depth for e in inputEdges]
|
||||
return min(inputDepths) + 1
|
||||
return max(inputDepths) + 1
|
||||
|
||||
def getInputEdges(self, node):
|
||||
return set([edge for edge in self.edges if edge.dst.node is node])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue