From e9682a8ce9c0dcfa820fd4558807a7fc87170914 Mon Sep 17 00:00:00 2001 From: Yann Lanthony Date: Fri, 23 Nov 2018 22:27:19 +0100 Subject: [PATCH] [ui] Viewer3D: load all urls from an external file drop --- meshroom/ui/qml/WorkspaceView.qml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meshroom/ui/qml/WorkspaceView.qml b/meshroom/ui/qml/WorkspaceView.qml index c50b3bcb..63e2a3a6 100644 --- a/meshroom/ui/qml/WorkspaceView.qml +++ b/meshroom/ui/qml/WorkspaceView.qml @@ -127,7 +127,9 @@ Item { DropArea { anchors.fill: parent keys: ["text/uri-list"] - onDropped: load3DMedia(drop.urls[0]) + onDropped: { + drop.urls.forEach(function(url){ load3DMedia(url); }); + } } }