Sebastien Vandenberghe 7 years ago
parent
commit
dd24ffcdf7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Layer/babylon.highlightlayer.ts

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

@@ -825,7 +825,7 @@
 
             this._shouldRender = false;
             for (var meshHighlightToCheck in this._meshes) {
-                if (meshHighlightToCheck) {
+                if (this._meshes[meshHighlightToCheck]) {
                     this._shouldRender = true;
                     break;
                 }