diff --git a/js/fea/DmaPart.js b/js/fea/DmaPart.js index cd977ced5db20bb5bc53c5f0b17c74aef5dabe93..c91fb0de2efff8deaff554cecfa9df486a17ca66 100644 --- a/js/fea/DmaPart.js +++ b/js/fea/DmaPart.js @@ -18,7 +18,7 @@ var partMaterial = new THREE.MeshLambertMaterial({ color:0xffffff, shading: THRE this.mesh = this._makeMeshForType(this.type); var rotation = this.parentCell.getEulerRotation(); this.mesh.rotation.set(rotation.x, rotation.y, rotation.z); - this.updateForScale(this.parentCell.getScale(), this.parentCell.getPosition()); + this._setMeshPosition(this.parentCell.getPosition()); globals.three.sceneAdd(this.mesh, "part"); };