Skip to content

Commit 08ea780

Browse files
committed
[core] node: Update status when reevaluating a node's locked status
If a node has been successfully computed and its locked status is reevaluated, the node's status should be updated from the cache to ensure all the information are correctly reflected.
1 parent 7cac2bf commit 08ea780

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

meshroom/core/node.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1603,6 +1603,11 @@ def updateLocked(self):
16031603
return
16041604

16051605
if currentStatus == Status.SUCCESS:
1606+
# Update the status when the lock is reevaluated while the node is
1607+
# successfully computed: this ensures all info reflect accurately the status
1608+
# (in particular with respect to dynamic output attributes)
1609+
self.updateStatusFromCache()
1610+
16061611
# At this moment, the node is necessarily locked because of previous if statement
16071612
inputNodes = self.getInputNodes(recursive=True, dependenciesOnly=True)
16081613
outputNodes = self.getOutputNodes(recursive=True, dependenciesOnly=True)

0 commit comments

Comments
 (0)