diff --git a/meshroom/ui/qml/Viewer/Viewer2D.qml b/meshroom/ui/qml/Viewer/Viewer2D.qml index 262e3233..480deaf0 100644 --- a/meshroom/ui/qml/Viewer/Viewer2D.qml +++ b/meshroom/ui/qml/Viewer/Viewer2D.qml @@ -123,6 +123,8 @@ FocusScope { } function getImageFile(type) { + if(!_reconstruction.activeNodes) + return ""; var depthMapNode = _reconstruction.activeNodes.get('allDepthMap').node; if (type == "image") { return root.source;