mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-06 10:18:42 +02:00
[ui] ImageGallery: fix reconstruction status indicator update issues
Bind reconstruction status to 'sfmReport' to ensure it is properly re-evaluated when switching from on SfM node to another.
This commit is contained in:
parent
fad2cc3e1c
commit
d6649fc365
1 changed files with 2 additions and 2 deletions
|
@ -144,9 +144,9 @@ Panel {
|
||||||
active: parent.inViews
|
active: parent.inViews
|
||||||
visible: active
|
visible: active
|
||||||
sourceComponent: MaterialLabel {
|
sourceComponent: MaterialLabel {
|
||||||
property bool reconstructed: _reconstruction.isReconstructed(model.object)
|
property bool reconstructed: _reconstruction.sfmReport && _reconstruction.isReconstructed(model.object)
|
||||||
text: reconstructed ? MaterialIcons.check_circle : MaterialIcons.remove_circle
|
text: reconstructed ? MaterialIcons.check_circle : MaterialIcons.remove_circle
|
||||||
color: reconstructed ? "#4CAF50" : "#F44336"
|
color: reconstructed ? Colors.green : Colors.red
|
||||||
ToolTip.text: reconstructed ? "Reconstructed" : "Not Reconstructed"
|
ToolTip.text: reconstructed ? "Reconstructed" : "Not Reconstructed"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue