From 21f36d72123a292f2045dd96504ea74f80581551 Mon Sep 17 00:00:00 2001 From: samcake Date: Mon, 6 Mar 2017 12:41:00 -0800 Subject: [PATCH] removing comments and restoring the correct behavior for Pal.js --- libraries/render-utils/src/MeshPartPayload.h | 1 - scripts/system/pal.js | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/libraries/render-utils/src/MeshPartPayload.h b/libraries/render-utils/src/MeshPartPayload.h index 9d021f4f34..c585c95025 100644 --- a/libraries/render-utils/src/MeshPartPayload.h +++ b/libraries/render-utils/src/MeshPartPayload.h @@ -119,7 +119,6 @@ public: private: mutable quint64 _fadeStartTime { 0 }; mutable uint8_t _fadeState { FADE_WAITING_TO_START }; - // mutable uint8_t _fadeState { FADE_COMPLETE }; }; namespace render { diff --git a/scripts/system/pal.js b/scripts/system/pal.js index ae9c8265aa..70b2739c96 100644 --- a/scripts/system/pal.js +++ b/scripts/system/pal.js @@ -184,8 +184,7 @@ function HighlightedEntity(id, entityProperties) { }, lineWidth: 1.0, ignoreRayIntersection: true, - //drawInFront: false // Arguable. For now, let's not distract with mysterious wires around the scene. - drawInFront: true // Arguable. For now, let's not distract with mysterious wires around the scene. + drawInFront: false // Arguable. For now, let's not distract with mysterious wires around the scene. }); HighlightedEntity.overlays.push(this); }