First skeleton update only after scaleX/Y is set.

This commit is contained in:
Davide Tantillo 2025-11-21 15:49:13 +01:00
parent 649209459f
commit 6a819315e0

View File

@ -495,11 +495,11 @@ class SpineC3Instance extends globalThis.ISDKWorldInstanceBase {
this._setSkin();
this.update(0);
this.skeleton.scaleX = this.isFlippedX ? -this.propScaleX : this.propScaleX;
this.skeleton.scaleY = this.propScaleY;
this.update(0);
this.skeletonLoaded = true;
this._trigger(C3.Plugins.EsotericSoftware_SpineConstruct3.Cnds.OnSkeletonLoaded);
}