diff --git a/js/fea/DmaCell.js b/js/fea/DmaCell.js index 7ffd3853ab9de01b4461d1c72c96f5872d45c5f3..832589f958295a1d7eda0a8807f8158123f0ff7b 100644 --- a/js/fea/DmaCell.js +++ b/js/fea/DmaCell.js @@ -65,7 +65,7 @@ DMACell.prototype.updateForScale = function(scale){ }; DMACell.prototype.getScale = function(){//need for part relay - return this.lattice.getScale(); + return this.lattice.get("scale"); }; DMACell.prototype.getPosition = function(){//need for part relay diff --git a/js/fea/DmaPart.js b/js/fea/DmaPart.js index b3d52adc164acb644b9d1b1102847288454a5c29..34e02bfadf84cbba54e2b4afc315c4d6c1ba49b2 100644 --- a/js/fea/DmaPart.js +++ b/js/fea/DmaPart.js @@ -33,13 +33,6 @@ mesh.position.z = position.z; }; - DMAPart.prototype.updateForScale = function(scale, position){ - if (this.mesh) { - this.mesh.scale.set(scale, scale, scale); - this._setMeshPosition(position); - } - }; - DMAPart.prototype.show = function(){ if (!this.mesh) this._draw(); this.mesh.visible = true;