|
@@ -242,9 +242,9 @@ export class Bone extends Node {
|
|
*/
|
|
*/
|
|
public returnToRest(): void {
|
|
public returnToRest(): void {
|
|
if (this._skeleton._numBonesWithLinkedTransformNode > 0) {
|
|
if (this._skeleton._numBonesWithLinkedTransformNode > 0) {
|
|
- this.updateMatrix(this._restPose.clone(), false, false);
|
|
|
|
|
|
+ this.updateMatrix(this._restPose, false, false);
|
|
} else {
|
|
} else {
|
|
- this.updateMatrix(this._restPose.clone(), false, true);
|
|
|
|
|
|
+ this.updateMatrix(this._restPose, false, true);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|