mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 01:36:02 +08:00
[ts][pixi-v8] Updated PixiJS to 8.12 to prevent deprecation warnings. See #2909.
This commit is contained in:
parent
c3ea9fd931
commit
445a8f700c
@ -28,7 +28,6 @@
|
|||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
|
|
||||||
import {
|
import {
|
||||||
collectAllRenderables,
|
|
||||||
extensions, ExtensionType,
|
extensions, ExtensionType,
|
||||||
InstructionSet,
|
InstructionSet,
|
||||||
type BLEND_MODES,
|
type BLEND_MODES,
|
||||||
@ -147,7 +146,8 @@ export class SpinePipe implements RenderPipe<Spine> {
|
|||||||
const container = containerAttachment.container;
|
const container = containerAttachment.container;
|
||||||
|
|
||||||
container.includeInBuild = true;
|
container.includeInBuild = true;
|
||||||
collectAllRenderables(container, instructionSet, this.renderer);
|
// See https://github.com/pixijs/pixijs/blob/b4c050a791fe65e979e467c9cba2bda0c01a1c35/src/scene/container/utils/collectAllRenderables.ts#L28
|
||||||
|
container.collectRenderables(instructionSet, this.renderer, null!);
|
||||||
container.includeInBuild = false;
|
container.includeInBuild = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user