@babylonjs/core 5.44.0 → 5.45.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/Audio/sound.d.ts +0 -1
- package/Audio/sound.js +10 -10
- package/Audio/sound.js.map +1 -1
- package/Culling/ray.js +8 -2
- package/Culling/ray.js.map +1 -1
- package/Engines/WebGPU/Extensions/engine.renderTarget.js +1 -1
- package/Engines/WebGPU/Extensions/engine.renderTarget.js.map +1 -1
- package/Engines/engine.js +11 -2
- package/Engines/engine.js.map +1 -1
- package/Engines/thinEngine.js +3 -3
- package/Engines/thinEngine.js.map +1 -1
- package/Loading/Plugins/babylonFileLoader.js +3 -0
- package/Loading/Plugins/babylonFileLoader.js.map +1 -1
- package/Materials/Textures/index.d.ts +1 -0
- package/Materials/Textures/index.js +1 -0
- package/Materials/Textures/index.js.map +1 -1
- package/Materials/Textures/ktx2decoderTypes.d.ts +215 -0
- package/Materials/Textures/ktx2decoderTypes.js +35 -0
- package/Materials/Textures/ktx2decoderTypes.js.map +1 -0
- package/Materials/Textures/texture.d.ts +1 -1
- package/Materials/Textures/texture.js.map +1 -1
- package/Maths/math.vector.js +155 -120
- package/Maths/math.vector.js.map +1 -1
- package/Meshes/mesh.js +9 -0
- package/Meshes/mesh.js.map +1 -1
- package/Meshes/transformNode.d.ts +9 -1
- package/Meshes/transformNode.js +22 -7
- package/Meshes/transformNode.js.map +1 -1
- package/Misc/khronosTextureContainer2.d.ts +68 -2
- package/Misc/khronosTextureContainer2.js +149 -1
- package/Misc/khronosTextureContainer2.js.map +1 -1
- package/Morph/morphTargetManager.d.ts +2 -0
- package/Morph/morphTargetManager.js +8 -0
- package/Morph/morphTargetManager.js.map +1 -1
- package/assetContainer.d.ts +16 -1
- package/assetContainer.js +198 -41
- package/assetContainer.js.map +1 -1
- package/package.json +1 -1
package/Meshes/mesh.js
CHANGED
|
@@ -225,6 +225,7 @@ export class Mesh extends AbstractMesh {
|
|
|
225
225
|
else {
|
|
226
226
|
this.metadata = source.metadata;
|
|
227
227
|
}
|
|
228
|
+
this._internalMetadata = source._internalMetadata;
|
|
228
229
|
// Tags
|
|
229
230
|
if (Tags && Tags.HasTags(source)) {
|
|
230
231
|
Tags.AddTagsTo(this, Tags.GetTags(source, true));
|
|
@@ -3074,6 +3075,10 @@ export class Mesh extends AbstractMesh {
|
|
|
3074
3075
|
if (instance.metadata) {
|
|
3075
3076
|
serializationInstance.metadata = instance.metadata;
|
|
3076
3077
|
}
|
|
3078
|
+
// Action Manager
|
|
3079
|
+
if (instance.actionManager) {
|
|
3080
|
+
serializationInstance.actions = instance.actionManager.serialize(instance.name);
|
|
3081
|
+
}
|
|
3077
3082
|
serializationObject.instances.push(serializationInstance);
|
|
3078
3083
|
// Animations
|
|
3079
3084
|
SerializationHelper.AppendSerializedAnimations(instance, serializationInstance);
|
|
@@ -3430,6 +3435,10 @@ export class Mesh extends AbstractMesh {
|
|
|
3430
3435
|
if (parsedInstance.physicsImpostor) {
|
|
3431
3436
|
Mesh._PhysicsImpostorParser(scene, instance, parsedInstance);
|
|
3432
3437
|
}
|
|
3438
|
+
// Actions
|
|
3439
|
+
if (parsedInstance.actions !== undefined) {
|
|
3440
|
+
instance._waitingData.actions = parsedInstance.actions;
|
|
3441
|
+
}
|
|
3433
3442
|
// Animation
|
|
3434
3443
|
if (parsedInstance.animations) {
|
|
3435
3444
|
for (let animationIndex = 0; animationIndex < parsedInstance.animations.length; animationIndex++) {
|