diff --git a/meshroom/ui/qml/Viewer/Viewer3D.qml b/meshroom/ui/qml/Viewer/Viewer3D.qml index 586923df..05abe36c 100644 --- a/meshroom/ui/qml/Viewer/Viewer3D.qml +++ b/meshroom/ui/qml/Viewer/Viewer3D.qml @@ -122,8 +122,7 @@ FocusScope { function clearAbc() { - abcSource = '' // does not work yet by itself - abcLoaderEntity.reload() // need to re-create the alembic loader + abcSource = '' } Scene3D { @@ -281,8 +280,7 @@ FocusScope { property Entity abcLoader: undefined enabled: showSfMCheckBox.checked - Component.onCompleted: reload() - function reload() { + Component.onCompleted: { if(!root.supportAlembic) // Alembic plugin not available return diff --git a/meshroom/ui/qml/WorkspaceView.qml b/meshroom/ui/qml/WorkspaceView.qml index e8a3c60a..1f738cc5 100644 --- a/meshroom/ui/qml/WorkspaceView.qml +++ b/meshroom/ui/qml/WorkspaceView.qml @@ -42,13 +42,12 @@ Item { Connections { target: reconstruction - onSfmChanged: loadSfmAbc() onSfmReportChanged: loadSfmAbc() } function loadSfmAbc() { - workspaceView.load3DMedia(reconstruction.sfm.attribute('output').value) + load3DMedia(reconstruction.sfm.attribute('output').value) } SystemPalette { id: palette }