@esotericsoftware/spine-pixi-v8 4.2.69 → 4.2.70

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -12406,6 +12406,8 @@ var spine = (() => {
12406
12406
  const drawOrder = spine.skeleton.drawOrder;
12407
12407
  const roundPixels = this.renderer._roundPixels | spine._roundPixels;
12408
12408
  spine._validateAndTransformAttachments();
12409
+ spine.spineAttachmentsDirty = false;
12410
+ spine.spineTexturesDirty = false;
12409
12411
  for (let i = 0, n = drawOrder.length; i < n; i++) {
12410
12412
  const slot = drawOrder[i];
12411
12413
  const attachment = slot.getAttachment();
@@ -12435,6 +12437,8 @@ var spine = (() => {
12435
12437
  updateRenderable(spine) {
12436
12438
  const gpuSpine = this.gpuSpineData[spine.uid];
12437
12439
  spine._validateAndTransformAttachments();
12440
+ spine.spineAttachmentsDirty = false;
12441
+ spine.spineTexturesDirty = false;
12438
12442
  const drawOrder = spine.skeleton.drawOrder;
12439
12443
  for (let i = 0, n = drawOrder.length; i < n; i++) {
12440
12444
  const slot = drawOrder[i];
@@ -12675,7 +12679,7 @@ var spine = (() => {
12675
12679
  spineAttachmentsDirty = true;
12676
12680
  lastAttachments.length = index;
12677
12681
  }
12678
- this.spineAttachmentsDirty = spineAttachmentsDirty;
12682
+ this.spineAttachmentsDirty ||= spineAttachmentsDirty;
12679
12683
  }
12680
12684
  updateAndSetPixiMask(slot, last) {
12681
12685
  const attachment = slot.attachment;