瀏覽代碼

Add exclude list Fix

sebavan 8 年之前
父節點
當前提交
53692458c7
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/Layer/babylon.highlightlayer.ts

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

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