Browse Source

Add exclude list Fix

sebavan 8 năm trước cách đây
mục cha
commit
53692458c7
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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;
                 };