From 773abeb817522e74da86aa653018b6fc91f187d3 Mon Sep 17 00:00:00 2001 From: Thomas FORGIONE Date: Tue, 7 Jul 2015 10:51:19 +0200 Subject: [PATCH] Corrected bug --- js/l3d/src/recommendations/BaseRecommendation.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/l3d/src/recommendations/BaseRecommendation.js b/js/l3d/src/recommendations/BaseRecommendation.js index 5dd8006..33fd747 100644 --- a/js/l3d/src/recommendations/BaseRecommendation.js +++ b/js/l3d/src/recommendations/BaseRecommendation.js @@ -188,7 +188,7 @@ L3D.BaseRecommendation.prototype.update = function(mainCamera) { elt.material.opacity = new_value; if (new_value < 0.1) - elt.material.transparent = elt.visible = false; + elt.raycastable = elt.material.transparent = elt.visible = false; } });