mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
Fix edit.js import on Windows
Forcefully prepend "file:///" to the local file url used for importing
This commit is contained in:
parent
1a9cd59339
commit
42c33ba699
1 changed files with 1 additions and 1 deletions
|
@ -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", "");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue