Skip to content
This repository has been archived by the owner on Nov 20, 2024. It is now read-only.

Commit

Permalink
fix: uvs array might change if the region is updated and the uvs are …
Browse files Browse the repository at this point in the history
…more. (#35)
  • Loading branch information
davidetan authored Aug 22, 2024
1 parent 8708c9b commit d7a6c74
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Spine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,8 @@ export class Spine extends Container implements View
);
}

cacheData.uvs = attachment.uvs as Float32Array;

const skeleton = slot.bone.skeleton;
const skeletonColor = skeleton.color;
const slotColor = slot.color;
Expand Down

0 comments on commit d7a6c74

Please sign in to comment.