Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions dist/preview release/what's new.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,5 +94,6 @@
- Fix bug in PBR when specific combinations of parameters are used ([Popov72](https://github.com/Popov72)
- Fix texture being inverted on the Y axis by default when using TextureAsset or AssetManager ([broederj](https://github.com/broederj))
- Fix `TexturePacker` cross-origin image requests, fix falsy default options ([ludevik](https://github.com/ludevik))
- Fix freeze (infinite loop) when disposing a scene that loaded some specific gLTF files ([Popov72](https://github.com/Popov72)

## Breaking changes
2 changes: 2 additions & 0 deletions loaders/src/glTF/2.0/glTFLoader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -733,7 +733,9 @@ export class GLTFLoader implements IGLTFLoader {
}));
}
else {
this._babylonScene._blockEntityCollection = this._forAssetContainer;
node._babylonTransformNode = new TransformNode(name, this._babylonScene);
this._babylonScene._blockEntityCollection = false;
node._primitiveBabylonMeshes = [];
for (const primitive of primitives) {
promises.push(this._loadMeshPrimitiveAsync(`${context}/primitives/${primitive.index}`, `${name}_primitive${primitive.index}`, node, mesh, primitive, (babylonMesh) => {
Expand Down