babylonjs-loaders 5.52.0 → 5.53.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/babylon.glTF2FileLoader.js +6 -2
- package/babylon.glTF2FileLoader.js.map +1 -1
- package/babylon.glTF2FileLoader.min.js +1 -1
- package/babylon.glTF2FileLoader.min.js.map +1 -1
- package/babylon.glTFFileLoader.js +6 -2
- package/babylon.glTFFileLoader.js.map +1 -1
- package/babylon.glTFFileLoader.min.js +1 -1
- package/babylon.glTFFileLoader.min.js.map +1 -1
- package/babylonjs.loaders.js +6 -2
- package/babylonjs.loaders.js.map +1 -1
- package/babylonjs.loaders.min.js +1 -1
- package/babylonjs.loaders.min.js.map +1 -1
- package/package.json +3 -3
|
@@ -2121,10 +2121,14 @@ var TransmissionHelper = /** @class */ (function () {
|
|
|
2121
2121
|
core_Materials_PBR_pbrMaterial__WEBPACK_IMPORTED_MODULE_1__.Tools.SetImmediate(function () {
|
|
2122
2122
|
if (_this._shouldRenderAsTransmission(mesh.material)) {
|
|
2123
2123
|
mesh.material.refractionTexture = _this._opaqueRenderTarget;
|
|
2124
|
-
_this._transparentMeshesCache.
|
|
2124
|
+
if (_this._transparentMeshesCache.indexOf(mesh) === -1) {
|
|
2125
|
+
_this._transparentMeshesCache.push(mesh);
|
|
2126
|
+
}
|
|
2125
2127
|
}
|
|
2126
2128
|
else {
|
|
2127
|
-
_this._opaqueMeshesCache.
|
|
2129
|
+
if (_this._opaqueMeshesCache.indexOf(mesh) === -1) {
|
|
2130
|
+
_this._opaqueMeshesCache.push(mesh);
|
|
2131
|
+
}
|
|
2128
2132
|
}
|
|
2129
2133
|
});
|
|
2130
2134
|
};
|