Skip to content
Snippets Groups Projects
Commit fc4d1f8c authored by Amanda Ghassaei's avatar Amanda Ghassaei
Browse files

scale bugfix

parent 7ac532fe
Branches
No related tags found
No related merge requests found
......@@ -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
......
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment