mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-05-23 14:06:28 +02:00
[ui] WorkspaceView: use activeNodes for sfm
This commit is contained in:
parent
cfbd5a3610
commit
bac6ffe8f2
1 changed files with 3 additions and 2 deletions
|
@ -44,9 +44,10 @@ Item {
|
||||||
|
|
||||||
// Load reconstruction's current SfM file
|
// Load reconstruction's current SfM file
|
||||||
function viewSfM() {
|
function viewSfM() {
|
||||||
if(!reconstruction.sfm)
|
var activeNode = _reconstruction.activeNodes.get('sfm').node;
|
||||||
|
if(!activeNode)
|
||||||
return;
|
return;
|
||||||
viewer3D.view(reconstruction.sfm.attribute('output'));
|
viewer3D.view(activeNode.attribute('output'));
|
||||||
}
|
}
|
||||||
|
|
||||||
SystemPalette { id: activePalette }
|
SystemPalette { id: activePalette }
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue