|
@@ -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);
|
|
|
}
|
|
|
};
|