Przeglądaj źródła

Add exclude list Fix

sebavan 9 lat temu
rodzic
commit
53692458c7
1 zmienionych plików z 1 dodań i 1 usunięć
  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;
                 };