From 0ba4e847ea1b3ecc77c8f7305dc115f6fa7b1bd2 Mon Sep 17 00:00:00 2001 From: Amanda Ghassaei <amandaghassaei@gmail.com> Date: Fri, 23 Oct 2015 19:04:37 -0400 Subject: [PATCH] dont export conductive groups --- js/cells/DMACell.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/cells/DMACell.js b/js/cells/DMACell.js index b73ae8e2..7b34b746 100644 --- a/js/cells/DMACell.js +++ b/js/cells/DMACell.js @@ -351,7 +351,7 @@ define(['underscore', 'three', 'threeModel', 'lattice', 'appState', 'globals', ' DMACell.prototype.getVisibleGeometry = function(){//for save stl var geometry = []; - if (!this.object3D.visible) return geometry; + if (!this.object3D.visible || this.isTransparent) return geometry; var meshes = _.filter(this.object3D.children, function(child){ return child.visible && child instanceof THREE.Mesh }); -- GitLab