From 4bd127c5c708190151f04b3a9c18fe941c83d0fa Mon Sep 17 00:00:00 2001 From: Amanda Ghassaei <amandaghassaei@gmail.com> Date: Mon, 25 May 2015 21:16:19 -0700 Subject: [PATCH] part rendering without scale --- js/fea/DmaPart.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/fea/DmaPart.js b/js/fea/DmaPart.js index cd977ced..c91fb0de 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"); }; -- GitLab