Use totalZ rather than the deprecated totalZElevation.

This commit is contained in:
Davide Tantillo 2026-02-10 16:54:46 +01:00
parent bc6f750a39
commit ea4d15519d
2 changed files with 2 additions and 2 deletions

View File

@ -163,7 +163,7 @@ class SpineC3Instance extends globalThis.ISDKWorldInstanceBase {
this.matrix.update(
this.x + this.propOffsetX,
this.y + this.propOffsetY,
this.totalZElevation,
this.totalZ,
this.angle + this.propOffsetAngle,
this.width / this.spineBounds.width * this.propScaleX * (this.isFlippedX ? -1 : 1),
this.height / this.spineBounds.height * this.propScaleY);

View File

@ -572,7 +572,7 @@ class SpineC3PluginInstance extends SDK.IWorldInstanceBase {
this.matrix.update(
this._inst.GetX() + this.propOffsetX,
this._inst.GetY() + this.propOffsetY,
this._inst.GetTotalZElevation(),
this._inst.GetTotalZ(),
this._inst.GetAngle() + this.propOffsetAngle,
actualScaleX,
actualScaleY);