From 348b7ee5e2d451f7940cf5708bb613ba1a5a5138 Mon Sep 17 00:00:00 2001 From: Amanda Ghassaei <amandaghassaei@gmail.com> Date: Fri, 15 May 2015 16:19:52 -0400 Subject: [PATCH] gik highlighter behaving better --- js/threeViews/ThreeView.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/threeViews/ThreeView.js b/js/threeViews/ThreeView.js index fd0b4a6f..f1f86842 100644 --- a/js/threeViews/ThreeView.js +++ b/js/threeViews/ThreeView.js @@ -99,7 +99,7 @@ ThreeView = Backbone.View.extend({ this.mouseProjection.setFromCamera(vector, this.model.camera); var objsToIntersect = this.model.cells.concat(this.model.basePlane); - if (this.highlighter.isVisible()) objsToIntersect = objsToIntersect.concat(this.highlighter.mesh); +// if (this.highlighter.isVisible()) objsToIntersect = objsToIntersect.concat(this.highlighter.mesh); var intersections = this.mouseProjection.intersectObjects(objsToIntersect, false); if (intersections.length == 0) {//no intersections this.highlighter.setNothingHighlighted(); -- GitLab