Explorar o código

Add exclude list Fix

sebavan %!s(int64=9) %!d(string=hai) anos
pai
achega
53692458c7
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/Layer/babylon.highlightlayer.ts

+ 1 - 1
src/Layer/babylon.highlightlayer.ts

@@ -353,7 +353,7 @@
                 }
 
                 // Excluded Mesh
-                if (this.excludedMeshes.indexOf(mesh)) {
+                if (this.excludedMeshes.indexOf(mesh) > -1) {
                     return;
                 };