mirror of
https://github.com/JulianGro/overte.git
synced 2025-08-09 23:01:36 +02: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;
|
var importURL;
|
||||||
if (menuItem == "Import Entities") {
|
if (menuItem == "Import Entities") {
|
||||||
importURL = Window.browse("Select models to import", "", "*.json");
|
importURL = "file:///" + Window.browse("Select models to import", "", "*.json");
|
||||||
} else {
|
} else {
|
||||||
importURL = Window.prompt("URL of SVO to import", "");
|
importURL = Window.prompt("URL of SVO to import", "");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue