Merge pull request #11756 from ctrlaltdavid/21592

Fix import from URL adding multiple copies of imported entities
This commit is contained in:
Clément Brisset 2017-11-08 18:01:48 -08:00 committed by GitHub
commit 40baca6ee1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1542,7 +1542,7 @@ function handeMenuEvent(menuItem) {
Window.openFileChanged.connect(onFileOpenChanged);
Window.browseAsync("Select Model to Import", "", "*.json");
} else {
Window.promptTextChanged.connect(onFileOpenChanged);
Window.promptTextChanged.connect(onPromptTextChanged);
Window.promptAsync("URL of SVO to import", "");
}
} else if (menuItem === "Entity List...") {