mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-06-06 12:51:57 +02:00
[ui] add chunk computed counter in node editor
This commit is contained in:
parent
0adbcd1c47
commit
e556f4f276
1 changed files with 11 additions and 0 deletions
|
@ -53,6 +53,17 @@ Panel {
|
|||
}
|
||||
var now = new Date().getTime()
|
||||
parent.text=Format.getTimeStr((now-nodeStartDateTime)/1000)
|
||||
|
||||
var chunkCompletion=0
|
||||
if (node.chunks.count>1) {
|
||||
for (var i = 0; i < node.chunks.count; i++) {
|
||||
if (node.chunks.at(i).statusName == "SUCCESS") {
|
||||
chunkCompletion++
|
||||
}
|
||||
}
|
||||
parent.text+= " | "+ chunkCompletion + "/" + node.chunks.count + " chunks"
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
padding: 2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue