From 0048b913113159f366dfcadade5ee6160b75a42c Mon Sep 17 00:00:00 2001 From: Ryan Huffman Date: Wed, 11 Mar 2015 15:42:16 -0700 Subject: [PATCH] Add handling for opening an .svo using interface --- interface/src/Application.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/interface/src/Application.cpp b/interface/src/Application.cpp index 91b4cc5923..48e1c4b266 100644 --- a/interface/src/Application.cpp +++ b/interface/src/Application.cpp @@ -1457,6 +1457,10 @@ void Application::dropEvent(QDropEvent *event) { if (url.url().toLower().endsWith(SNAPSHOT_EXTENSION)) { snapshotPath = url.toLocalFile(); break; + } else if (url.url().toLower().endsWith(SVO_EXTENSION)) { + emit svoImportRequested(url.url()); + event->acceptProposedAction(); + return; } }