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

gik highlighter behaving better

parent 8b6f8dde
No related branches found
No related tags found
No related merge requests found
......@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment