mirror of
https://github.com/overte-org/overte.git
synced 2025-04-25 23:56:29 +02:00
editModels debug cleanup
This commit is contained in:
parent
8023735eb3
commit
0d80c32306
1 changed files with 0 additions and 4 deletions
|
@ -3000,7 +3000,6 @@ Controller.keyReleaseEvent.connect(function (event) {
|
||||||
Window.inlineButtonClicked.connect(function (name) {
|
Window.inlineButtonClicked.connect(function (name) {
|
||||||
if (name == "resetDimensions") {
|
if (name == "resetDimensions") {
|
||||||
var decimals = 3;
|
var decimals = 3;
|
||||||
|
|
||||||
Window.reloadNonBlockingForm([
|
Window.reloadNonBlockingForm([
|
||||||
{ value: propertiesForEditedEntity.naturalDimensions.x.toFixed(decimals), oldIndex: dimensionX },
|
{ value: propertiesForEditedEntity.naturalDimensions.x.toFixed(decimals), oldIndex: dimensionX },
|
||||||
{ value: propertiesForEditedEntity.naturalDimensions.y.toFixed(decimals), oldIndex: dimensionY },
|
{ value: propertiesForEditedEntity.naturalDimensions.y.toFixed(decimals), oldIndex: dimensionY },
|
||||||
|
@ -3009,11 +3008,8 @@ Window.inlineButtonClicked.connect(function (name) {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
Window.nonBlockingFormClosed.connect(function() {
|
Window.nonBlockingFormClosed.connect(function() {
|
||||||
print("JAVASCRIPT.... nonBlockingFormClosed....");
|
|
||||||
array = editEntityFormArray;
|
array = editEntityFormArray;
|
||||||
if (Window.getNonBlockingFormResult(array)) {
|
if (Window.getNonBlockingFormResult(array)) {
|
||||||
print("getNonBlockingFormResult()....");
|
|
||||||
|
|
||||||
var properties = propertiesForEditedEntity;
|
var properties = propertiesForEditedEntity;
|
||||||
var index = 0;
|
var index = 0;
|
||||||
if (properties.type == "Model") {
|
if (properties.type == "Model") {
|
||||||
|
|
Loading…
Reference in a new issue