Skip to content

Commit e7cf429

Browse files
broodsfabiencastan
authored andcommitted
[ui] add chunk computed counter in node editor
1 parent c882b53 commit e7cf429

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

meshroom/ui/qml/GraphEditor/NodeEditor.qml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,17 @@ Panel {
5353
}
5454
var now = new Date().getTime()
5555
parent.text=Format.getTimeStr((now-nodeStartDateTime)/1000)
56+
57+
var chunkCompletion=0
58+
if (node.chunks.count>1) {
59+
for (var i = 0; i < node.chunks.count; i++) {
60+
if (node.chunks.at(i).statusName == "SUCCESS") {
61+
chunkCompletion++
62+
}
63+
}
64+
parent.text+= " | "+ chunkCompletion + "/" + node.chunks.count + " chunks"
65+
}
66+
5667
}
5768
}
5869
padding: 2

0 commit comments

Comments
 (0)