mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-02 16:28:51 +02:00
[ui] StatViewer: do not display uninitialied values
This commit is contained in:
parent
4cc78ad5ec
commit
40c3430707
1 changed files with 3 additions and 0 deletions
|
@ -122,6 +122,7 @@ Item {
|
|||
}
|
||||
|
||||
function resetCharts() {
|
||||
root.fileVersion = 0.0
|
||||
cpuLegend.clear()
|
||||
cpuChart.removeAllSeries()
|
||||
ramChart.removeAllSeries()
|
||||
|
@ -378,6 +379,7 @@ Item {
|
|||
plotAreaColor: "transparent"
|
||||
titleColor: textColor
|
||||
|
||||
visible: (root.fileVersion > 0.0) // only visible if we have valid information
|
||||
title: "CPU: " + root.nbCores + " cores, " + root.cpuFrequency + "Hz"
|
||||
|
||||
ValueAxis {
|
||||
|
@ -432,6 +434,7 @@ Item {
|
|||
plotAreaColor: "transparent"
|
||||
titleColor: textColor
|
||||
|
||||
visible: (root.fileVersion > 0.0) // only visible if we have valid information
|
||||
title: root.ramLabel + root.ramTotal + "GB"
|
||||
|
||||
ValueAxis {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue