[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 01cec79ecb
commit ba02dfa483

View File

@ -338,8 +338,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;