[ts][pixi-v7] Fix setup pose flash on first frame. See #3029.

This commit is contained in:
Davide Tantillo 2026-02-20 12:40:52 +01:00
parent 8f6018ad0b
commit 842092e606

View File

@ -323,8 +323,10 @@ export class Spine extends Container {
this.interactiveChildren = true; this.interactiveChildren = true;
this.hitArea = null; this.hitArea = null;
} }
if (!this.hasNeverUpdated) {
this.calculateBounds(); this.calculateBounds();
} }
}
private _boundsPoint = new Point(); private _boundsPoint = new Point();
private _boundsSpineID = -1; private _boundsSpineID = -1;
private _boundsSpineDirty = true; private _boundsSpineDirty = true;