Fix edit.js import on Windows

Forcefully prepend "file:///" to the local file url used for importing
This commit is contained in:
Ryan Huffman 2015-09-28 15:40:37 -07:00
parent 1a9cd59339
commit 42c33ba699

View file

@ -1035,7 +1035,7 @@ function handeMenuEvent(menuItem) {
var importURL;
if (menuItem == "Import Entities") {
importURL = Window.browse("Select models to import", "", "*.json");
importURL = "file:///" + Window.browse("Select models to import", "", "*.json");
} else {
importURL = Window.prompt("URL of SVO to import", "");
}