|
@@ -394,7 +394,7 @@ export class InstancedMesh extends AbstractMesh {
|
|
var result = this._sourceMesh.createInstance(name);
|
|
var result = this._sourceMesh.createInstance(name);
|
|
|
|
|
|
// Deep copy
|
|
// Deep copy
|
|
- DeepCopier.DeepCopy(this, result, ["name", "subMeshes", "uniqueId"], []);
|
|
|
|
|
|
+ DeepCopier.DeepCopy(this, result, ["name", "subMeshes", "uniqueId", "parent"], []);
|
|
|
|
|
|
// Bounding info
|
|
// Bounding info
|
|
this.refreshBoundingInfo();
|
|
this.refreshBoundingInfo();
|