editModels debug cleanup

This commit is contained in:
ZappoMan 2014-09-10 14:51:58 -07:00
parent 8023735eb3
commit 0d80c32306

View file

@ -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") {