mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-05-20 20:46:28 +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)
|
@Slot(Node, result=int)
|
||||||
def canSubmitOrCompute(self, startNode):
|
def canSubmitOrCompute(self, startNode):
|
||||||
print("canSubmitOrCompute: " + startNode.getName())
|
|
||||||
|
|
||||||
if startNode.isAlreadySubmittedOrFinished():
|
if startNode.isAlreadySubmittedOrFinished():
|
||||||
return 0
|
return 0
|
||||||
|
|
||||||
|
@ -921,13 +919,12 @@ class Graph(BaseObject):
|
||||||
|
|
||||||
def discoverVertex(self, vertex, graph):
|
def discoverVertex(self, vertex, graph):
|
||||||
if vertex.isAlreadySubmitted():
|
if vertex.isAlreadySubmitted():
|
||||||
print("vertex.isAlreadySubmitted: " + vertex.getName())
|
|
||||||
self.canSubmit = False
|
self.canSubmit = False
|
||||||
if vertex.isExtern():
|
if vertex.isExtern():
|
||||||
self.canCompute = False
|
self.canCompute = False
|
||||||
|
|
||||||
visitor = SCVisitor()
|
visitor = SCVisitor()
|
||||||
self.dfs(visitor=visitor, startNodes=[startNode])
|
self.dfs(visitor=visitor, startNodes=[startNode])
|
||||||
print(visitor.canCompute + (2 * visitor.canSubmit))
|
|
||||||
return visitor.canCompute + (2 * visitor.canSubmit)
|
return visitor.canCompute + (2 * visitor.canSubmit)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue