mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-06-02 02:42:05 +02:00
[ui] Recompute and Re-submit not allowed with Compatibility Nodes
Renaming of canCompute to canComputeTopologically to understand the static aspect of the function
This commit is contained in:
parent
24b7a378f8
commit
b6df2852e7
3 changed files with 21 additions and 11 deletions
|
@ -341,12 +341,12 @@ class TaskManager(BaseObject):
|
|||
if not node.isComputable:
|
||||
inputNodes.append(node)
|
||||
elif context == "COMPUTATION":
|
||||
if graph.canCompute(node) and graph.canSubmitOrCompute(node) % 2 == 1:
|
||||
if graph.canComputeTopologically(node) and graph.canSubmitOrCompute(node) % 2 == 1:
|
||||
ready.append(node)
|
||||
elif node.isComputed:
|
||||
computed.append(node)
|
||||
elif context == "SUBMITTING":
|
||||
if graph.canCompute(node) and graph.canSubmitOrCompute(node) > 1:
|
||||
if graph.canComputeTopologically(node) and graph.canSubmitOrCompute(node) > 1:
|
||||
ready.append(node)
|
||||
elif node.isComputed:
|
||||
computed.append(node)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue