mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-05-20 12:36:29 +02:00
Delete print
This commit is contained in:
parent
f083309973
commit
c88881e198
1 changed files with 1 additions and 4 deletions
|
@ -910,8 +910,6 @@ class Graph(BaseObject):
|
|||
|
||||
@Slot(Node, result=int)
|
||||
def canSubmitOrCompute(self, startNode):
|
||||
print("canSubmitOrCompute: " + startNode.getName())
|
||||
|
||||
if startNode.isAlreadySubmittedOrFinished():
|
||||
return 0
|
||||
|
||||
|
@ -921,13 +919,12 @@ class Graph(BaseObject):
|
|||
|
||||
def discoverVertex(self, vertex, graph):
|
||||
if vertex.isAlreadySubmitted():
|
||||
print("vertex.isAlreadySubmitted: " + vertex.getName())
|
||||
self.canSubmit = False
|
||||
if vertex.isExtern():
|
||||
self.canCompute = False
|
||||
|
||||
visitor = SCVisitor()
|
||||
self.dfs(visitor=visitor, startNodes=[startNode])
|
||||
print(visitor.canCompute + (2 * visitor.canSubmit))
|
||||
return visitor.canCompute + (2 * visitor.canSubmit)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue