mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-06-02 19:02:29 +02:00
[Panorama Viewer] Loading indicator added
This commit is contained in:
parent
9decce4e75
commit
05d50c7065
2 changed files with 28 additions and 4 deletions
|
@ -990,7 +990,12 @@ FocusScope {
|
|||
anchors.centerIn: parent
|
||||
// running property binding seems broken, only dynamic binding assignment works
|
||||
Component.onCompleted: {
|
||||
running = Qt.binding(function() { return imgContainer.image && imgContainer.image.status === Image.Loading })
|
||||
if (root.usePanoramaViewer) {
|
||||
running = Qt.binding(function() { return imgContainer.panoramaViewerLoader.status === Image.Loading })
|
||||
} else {
|
||||
running = Qt.binding(function() { return imgContainer.image && imgContainer.image.status === Image.Loading })
|
||||
}
|
||||
|
||||
}
|
||||
// disable the visibility when unused to avoid stealing the mouseEvent to the image color picker
|
||||
visible: running
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue