|
@@ -141,9 +141,12 @@
|
|
}
|
|
}
|
|
|
|
|
|
// Deep copy
|
|
// Deep copy
|
|
- Tools.DeepCopy(source, this, ["name", "material", "skeleton", "instances"], ["_poseMatrix"]);
|
|
|
|
|
|
+ Tools.DeepCopy(source, this, ["name", "material", "skeleton", "instances", "parent"], ["_poseMatrix"]);
|
|
|
|
|
|
- // Pivot
|
|
|
|
|
|
+ // Parent
|
|
|
|
+ this.parent = source.parent;
|
|
|
|
+
|
|
|
|
+ // Pivot
|
|
this.setPivotMatrix(source.getPivotMatrix());
|
|
this.setPivotMatrix(source.getPivotMatrix());
|
|
|
|
|
|
this.id = name + "." + source.id;
|
|
this.id = name + "." + source.id;
|