diff --git a/meshroom/ui/qml/Viewer/PanoramaViewer.qml b/meshroom/ui/qml/Viewer/PanoramaViewer.qml index 349bbd8f..32a92bbe 100644 --- a/meshroom/ui/qml/Viewer/PanoramaViewer.qml +++ b/meshroom/ui/qml/Viewer/PanoramaViewer.qml @@ -40,8 +40,6 @@ AliceVision.PanoramaViewer { property int mouseMultiplier: 1 - property var sfmData: null - onIsHighlightableChanged:{ for (var i = 0; i < repeater.model; i++) { repeater.itemAt(i).item.onChangedHighlightState(isHighlightable); @@ -196,8 +194,6 @@ AliceVision.PanoramaViewer { } } - property var pathList : [] - property var idList : [] property int imagesLoaded: 0 property bool allImagesLoaded: false @@ -260,7 +256,6 @@ AliceVision.PanoramaViewer { 'downscaleLevel' : Qt.binding(function() { return downscale; }), 'source': Qt.binding(function() { return sourceItem; }), 'surface.msfmData': Qt.binding(function() { return root.msfmData }), - 'sfmRequired': true, 'canBeHovered': true }) imageLoaded = Qt.binding(function() { return repeater.itemAt(index).item.status === Image.Ready ? true : false; }) @@ -279,17 +274,9 @@ AliceVision.PanoramaViewer { onImagesDataChanged: { root.imagesLoaded = 0; - // Retrieve downscale value from C++ panoramaViewerToolbar.updateDownscaleValue(root.downscale) - //We receive the map from C++ - //Resetting arrays to avoid problem with push -// for (var path in imagesData) { -// root.pathList.push(path) -// root.idList.push(imagesData[path]) -// } - //Changing the repeater model (number of elements) panoImages.updateRepeater() diff --git a/meshroom/ui/qml/Viewer/Viewer2D.qml b/meshroom/ui/qml/Viewer/Viewer2D.qml index 3fa78ed0..bb1b3f02 100644 --- a/meshroom/ui/qml/Viewer/Viewer2D.qml +++ b/meshroom/ui/qml/Viewer/Viewer2D.qml @@ -618,6 +618,10 @@ FocusScope { } } + onFilepathChanged: { + console.warn("[QML] " + filepath) + } + active: false // It takes time to load tracks, so keep them looaded, if we may use it again. // If we load another node, we can trash them (to eventually load the new node data).