From 720a9ff49e91895395c2d8fff34658134926aa50 Mon Sep 17 00:00:00 2001 From: amandaghassaei <amandaghassaei@gmail.com> Date: Sat, 14 Mar 2015 03:04:26 -0400 Subject: [PATCH] comments --- js/fea/DmaBeam.js | 2 +- js/menus/LatticeMenuView.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/js/fea/DmaBeam.js b/js/fea/DmaBeam.js index d1d1e22b..befdfe32 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 81aa04a9..87a49017 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"); -- GitLab