@babylonjs/core 7.17.0 → 7.17.2
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/Collisions/gpuPicker.js +3 -3
- package/Collisions/gpuPicker.js.map +1 -1
- package/Engines/AbstractEngine/abstractEngine.views.js +1 -1
- package/Engines/AbstractEngine/abstractEngine.views.js.map +1 -1
- package/Engines/abstractEngine.js +2 -2
- package/Engines/abstractEngine.js.map +1 -1
- package/Engines/webgpuEngine.js +1 -1
- package/Engines/webgpuEngine.js.map +1 -1
- package/Meshes/mesh.js +2 -2
- package/Meshes/mesh.js.map +1 -1
- package/Meshes/meshUVSpaceRenderer.js +1 -0
- package/Meshes/meshUVSpaceRenderer.js.map +1 -1
- package/Shaders/ShadersInclude/pbrBlockAmbientOcclusion.js +1 -3
- package/Shaders/ShadersInclude/pbrBlockAmbientOcclusion.js.map +1 -1
- package/package.json +1 -1
package/Meshes/mesh.js
CHANGED
|
@@ -387,7 +387,7 @@ export class Mesh extends AbstractMesh {
|
|
|
387
387
|
this.parent = source.parent;
|
|
388
388
|
// Pivot
|
|
389
389
|
this.setPivotMatrix(source.getPivotMatrix(), this._postMultiplyPivotMatrix);
|
|
390
|
-
this.id = name + "." + source.id;
|
|
390
|
+
this.id = this.name + "." + source.id;
|
|
391
391
|
// Material
|
|
392
392
|
this.material = source.material;
|
|
393
393
|
if (!doNotCloneChildren) {
|
|
@@ -396,7 +396,7 @@ export class Mesh extends AbstractMesh {
|
|
|
396
396
|
for (let index = 0; index < directDescendants.length; index++) {
|
|
397
397
|
const child = directDescendants[index];
|
|
398
398
|
if (child.clone) {
|
|
399
|
-
child.clone(name + "." + child.name, this);
|
|
399
|
+
child.clone(this.name + "." + child.name, this);
|
|
400
400
|
}
|
|
401
401
|
}
|
|
402
402
|
}
|