mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-06-05 12:21:59 +02:00
[Panorama Viewer] refactoring panorama viewer
This commit is contained in:
parent
8216fdd225
commit
5b5f725f3e
2 changed files with 5 additions and 14 deletions
|
@ -262,7 +262,6 @@ FocusScope {
|
|||
onActiveChanged: {
|
||||
if(active) {
|
||||
setSource("PanoramaViewer.qml", {
|
||||
'source': Qt.binding(function() { return getImageFile(imageType.type); }),
|
||||
'isEditable': Qt.binding(function(){ return panoramaViewerToolbar.enableEdit;}),
|
||||
'isHighlightable': Qt.binding(function(){ return panoramaViewerToolbar.enableHover;}),
|
||||
'downscaleValue': Qt.binding(function(){return panoramaViewerToolbar.downscaleValue;}),
|
||||
|
@ -274,6 +273,9 @@ FocusScope {
|
|||
setSource("", {})
|
||||
}
|
||||
}
|
||||
onLoaded: {
|
||||
panoramaViewerLoader.item.updateSfmPath();
|
||||
}
|
||||
}
|
||||
|
||||
// Simple QML Image Viewer (using Qt or qtOIIO to load images)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue