sebastien 7 lat temu
rodzic
commit
55b9049853

Plik diff jest za duży
+ 5464 - 5464
Playground/babylon.d.txt


Plik diff jest za duży
+ 4890 - 4890
dist/preview release/babylon.d.ts


Plik diff jest za duży
+ 29 - 29
dist/preview release/babylon.js


Plik diff jest za duży
+ 87597 - 87061
dist/preview release/babylon.max.js


Plik diff jest za duży
+ 2 - 2
dist/preview release/babylon.worker.js


Plik diff jest za duży
+ 12132 - 12132
dist/preview release/customConfigurations/minimalGLTFViewer/babylon.d.ts


Plik diff jest za duży
+ 2 - 2
dist/preview release/customConfigurations/minimalGLTFViewer/babylon.js


+ 2 - 2
dist/preview release/customConfigurations/minimalGLTFViewer/babylon.max.js

@@ -83935,7 +83935,7 @@ var BABYLON;
          * @param mesh The mesh to exclude from the glow layer
          */
         GlowLayer.prototype.addExcludedMesh = function (mesh) {
-            if (this._excludedMeshes.indexOf(mesh.uniqueId) !== -1) {
+            if (this._excludedMeshes.indexOf(mesh.uniqueId) === -1) {
                 this._excludedMeshes.push(mesh.uniqueId);
             }
         };
@@ -83954,7 +83954,7 @@ var BABYLON;
          * @param mesh The mesh to include in the glow layer
          */
         GlowLayer.prototype.addIncludedOnlyMesh = function (mesh) {
-            if (this._includedOnlyMeshes.indexOf(mesh.uniqueId) !== -1) {
+            if (this._includedOnlyMeshes.indexOf(mesh.uniqueId) === -1) {
                 this._includedOnlyMeshes.push(mesh.uniqueId);
             }
         };

+ 2 - 2
dist/preview release/customConfigurations/minimalGLTFViewer/es6.js

@@ -83921,7 +83921,7 @@ var BABYLON;
          * @param mesh The mesh to exclude from the glow layer
          */
         GlowLayer.prototype.addExcludedMesh = function (mesh) {
-            if (this._excludedMeshes.indexOf(mesh.uniqueId) !== -1) {
+            if (this._excludedMeshes.indexOf(mesh.uniqueId) === -1) {
                 this._excludedMeshes.push(mesh.uniqueId);
             }
         };
@@ -83940,7 +83940,7 @@ var BABYLON;
          * @param mesh The mesh to include in the glow layer
          */
         GlowLayer.prototype.addIncludedOnlyMesh = function (mesh) {
-            if (this._includedOnlyMeshes.indexOf(mesh.uniqueId) !== -1) {
+            if (this._includedOnlyMeshes.indexOf(mesh.uniqueId) === -1) {
                 this._includedOnlyMeshes.push(mesh.uniqueId);
             }
         };

Plik diff jest za duży
+ 87608 - 87072
dist/preview release/es6.js


Plik diff jest za duży
+ 1 - 1
dist/preview release/loaders/babylon.objFileLoader.min.js


Plik diff jest za duży
+ 1 - 1
dist/preview release/loaders/babylonjs.loaders.min.js


Plik diff jest za duży
+ 16 - 16
dist/preview release/viewer/babylon.viewer.js


+ 2 - 2
src/Layer/babylon.glowLayer.ts

@@ -350,7 +350,7 @@
          * @param mesh The mesh to exclude from the glow layer
          */
         public addExcludedMesh(mesh: Mesh): void {
-            if (this._excludedMeshes.indexOf(mesh.uniqueId) !== -1) {
+            if (this._excludedMeshes.indexOf(mesh.uniqueId) === -1) {
                 this._excludedMeshes.push(mesh.uniqueId);
             }
         }
@@ -371,7 +371,7 @@
          * @param mesh The mesh to include in the glow layer
          */
         public addIncludedOnlyMesh(mesh: Mesh): void {
-            if (this._includedOnlyMeshes.indexOf(mesh.uniqueId) !== -1) {
+            if (this._includedOnlyMeshes.indexOf(mesh.uniqueId) === -1) {
                 this._includedOnlyMeshes.push(mesh.uniqueId);
             }
         }