mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-05-29 17:06:35 +02:00
[Panorama Viewer] remove unused variables
This commit is contained in:
parent
fb70a355b9
commit
c1e57f6e4d
2 changed files with 4 additions and 13 deletions
|
@ -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<ImgPath, idView> 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()
|
||||
|
||||
|
|
|
@ -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).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue