mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-03 00:38:41 +02:00
[ui] MFeatures: use viewId from active cameraInit only (not all cameraInits)
This commit is contained in:
parent
634fb96aa9
commit
8d68f17410
2 changed files with 11 additions and 2 deletions
|
@ -720,7 +720,17 @@ FocusScope {
|
|||
setSource("MFeatures.qml", {
|
||||
'describerTypes': Qt.binding(function() { return activeNode ? activeNode.attribute("describerTypes").value : {}; }),
|
||||
'featureFolder': Qt.binding(function() { return activeNode ? Filepath.stringToUrl(activeNode.attribute("output").value) : ""; }),
|
||||
'viewIds': Qt.binding(function() { return _reconstruction ? _reconstruction.allViewIds() : {}; }),
|
||||
'viewIds': Qt.binding(function() {
|
||||
if (_reconstruction) {
|
||||
let result = [];
|
||||
for (let i = 0; i < _reconstruction.viewpoints.count; i++) {
|
||||
let vp = _reconstruction.viewpoints.at(i);
|
||||
result.push(vp.childAttribute("viewId").value);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
return {};
|
||||
}),
|
||||
})
|
||||
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue