clear stuff from edit

This commit is contained in:
James B. Pollack 2016-04-12 16:22:53 -07:00
parent 0faab41057
commit ab7f8f27fe

View file

@ -95,10 +95,6 @@ var SHOULD_SHOW_PROPERTY_MENU = false;
var INSUFFICIENT_PERMISSIONS_ERROR_MSG = "You do not have the necessary permissions to edit on this domain."
var INSUFFICIENT_PERMISSIONS_IMPORT_ERROR_MSG = "You do not have the necessary permissions to place items on this domain."
var modelURLs = [
"Insert the URL to your FBX"
];
var mode = 0;
var isActive = false;
@ -432,7 +428,7 @@ var toolBar = (function() {
}
if (newModelButton === toolBar.clicked(clickedOverlay)) {
url = Window.prompt("Model URL", modelURLs[Math.floor(Math.random() * modelURLs.length)]);
url = Window.prompt("Model URL");
if (url !== null && url !== "") {
addModel(url);
}