diff --git a/js/fea/DmaBeam.js b/js/fea/DmaBeam.js index d1d1e22b8c578dba8832e457b35144b28ce72229..befdfe32587288efd56b64663208d3fcdc9dd088 100644 --- a/js/fea/DmaBeam.js +++ b/js/fea/DmaBeam.js @@ -39,7 +39,7 @@ DmaBeam.prototype._buildBeamMesh = function(){ return mesh; }; -DmaBeam.prototype.updateForScale = function(scale){ +DmaBeam.prototype.updateForScale = function(scale){//todo make this better if (!this.mesh) this.mesh = this._buildBeamMesh(); var position = this.nodes[0].getPosition(); position.add(this.nodes[1].getPosition()); diff --git a/js/menus/LatticeMenuView.js b/js/menus/LatticeMenuView.js index 81aa04a96eab0c8f156b212da66224a6f38913d2..87a4901703ceca882a0335f3640b12d549cf78a5 100644 --- a/js/menus/LatticeMenuView.js +++ b/js/menus/LatticeMenuView.js @@ -88,6 +88,7 @@ LatticeMenuView = Backbone.View.extend({ this.lattice.set("partType", partType, {silent:true}); }, + //todo get rid of this _setTetraCell: function(e){ e.preventDefault(); this.lattice.set("freeformCellType", "tetra");