mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-20 17:26:01 +08:00
First skeleton update only after scaleX/Y is set.
This commit is contained in:
parent
649209459f
commit
6a819315e0
@ -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);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user