mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-06 10:18:42 +02:00
[ui] Sync feature points in Viewer2D enabled
This commit is contained in:
parent
369143eca1
commit
2dd8392b4d
2 changed files with 3 additions and 1 deletions
|
@ -52,6 +52,7 @@ Repeater {
|
|||
|
||||
/// Current view ID
|
||||
property var currentViewId
|
||||
property bool sync3DSelected: false
|
||||
|
||||
/// Time window
|
||||
property bool enableTimeWindow: false
|
||||
|
@ -75,7 +76,7 @@ Repeater {
|
|||
matchColor: Colors.orange
|
||||
landmarkColor: Colors.red
|
||||
describerType: modelData
|
||||
currentViewId: root.currentViewId
|
||||
currentViewId: sync3DSelected ? _reconstruction.pickedViewId : root.currentViewId
|
||||
enableTimeWindow: root.enableTimeWindow
|
||||
timeWindow: root.timeWindow
|
||||
mfeatures: root.features
|
||||
|
|
|
@ -586,6 +586,7 @@ FocusScope {
|
|||
'features': Qt.binding(function() { return mfeaturesLoader.status === Loader.Ready ? mfeaturesLoader.item : null }),
|
||||
'tracks': Qt.binding(function() { return mtracksLoader.status === Loader.Ready ? mtracksLoader.item : null }),
|
||||
'sfmData': Qt.binding(function() { return msfmDataLoader.status === Loader.Ready ? msfmDataLoader.item : null }),
|
||||
'sync3DSelected': Qt.binding(function() { return sequencePlayer.sync3DSelected }),
|
||||
})
|
||||
} else {
|
||||
// Forcing the unload (instead of using Component.onCompleted to load it once and for all) is necessary since Qt 5.14
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue