mirror of
https://github.com/lubosz/overte.git
synced 2025-08-07 20:31:29 +02:00
Remove some debug logging
This commit is contained in:
parent
c27e1d6fdb
commit
6c47db016f
1 changed files with 0 additions and 4 deletions
|
@ -246,13 +246,11 @@ var toolBar = (function () {
|
||||||
toolBar.writeProperty("shown", false);
|
toolBar.writeProperty("shown", false);
|
||||||
|
|
||||||
addButton("newModelButton", "model-01.svg", function () {
|
addButton("newModelButton", "model-01.svg", function () {
|
||||||
print("CREATE MODEL 1");
|
|
||||||
var SHAPE_TYPE_NONE_TEXT = "No Collision";
|
var SHAPE_TYPE_NONE_TEXT = "No Collision";
|
||||||
var SHAPE_TYPE_SIMPLE_HULL_TEXT = "Basic - Whole model";
|
var SHAPE_TYPE_SIMPLE_HULL_TEXT = "Basic - Whole model";
|
||||||
var SHAPE_TYPE_SIMPLE_COMPOUND_TEXT = "Good - Sub-meshes";
|
var SHAPE_TYPE_SIMPLE_COMPOUND_TEXT = "Good - Sub-meshes";
|
||||||
var SHAPE_TYPE_STATIC_MESH_TEXT = "Exact - All polygons";
|
var SHAPE_TYPE_STATIC_MESH_TEXT = "Exact - All polygons";
|
||||||
var DYNAMIC_DEFAULT = false;
|
var DYNAMIC_DEFAULT = false;
|
||||||
print("CREATE MODEL 2");
|
|
||||||
var result = Window.customPrompt({
|
var result = Window.customPrompt({
|
||||||
textInput: {
|
textInput: {
|
||||||
label: "Model URL"
|
label: "Model URL"
|
||||||
|
@ -276,8 +274,6 @@ var toolBar = (function () {
|
||||||
warningOnDisable: "Models with automatic collisions set to 'Exact' cannot be dynamic"
|
warningOnDisable: "Models with automatic collisions set to 'Exact' cannot be dynamic"
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
print("CREATE MODEL 3");
|
|
||||||
print("RESULT = " + result);
|
|
||||||
|
|
||||||
if (result) {
|
if (result) {
|
||||||
var url = result.textInput;
|
var url = result.textInput;
|
||||||
|
|
Loading…
Reference in a new issue