From d7a6c74b5ab1b8f7eb03f0279da96d174295e83a Mon Sep 17 00:00:00 2001 From: Davide <7047501+davidetan@users.noreply.github.com> Date: Thu, 22 Aug 2024 13:15:47 +0200 Subject: [PATCH] fix: uvs array might change if the region is updated and the uvs are more. (#35) --- src/Spine.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Spine.ts b/src/Spine.ts index 6867841..aa5b8b5 100644 --- a/src/Spine.ts +++ b/src/Spine.ts @@ -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;