diff --git a/meshroom/core/graph.py b/meshroom/core/graph.py index ef9ff706..4d033c1e 100644 --- a/meshroom/core/graph.py +++ b/meshroom/core/graph.py @@ -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)