mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 17:56:04 +08:00
Off-by-one error in skinned mesh attachment
This commit is contained in:
parent
aaa0c1f25d
commit
678c6b1e14
@ -89,7 +89,7 @@ function SkinnedMeshAttachment.new (name)
|
|||||||
local nn = bones[v] + v
|
local nn = bones[v] + v
|
||||||
v = v + 1
|
v = v + 1
|
||||||
while v <= nn do
|
while v <= nn do
|
||||||
bone = skeletonBones[bones[v]]
|
bone = skeletonBones[bones[v] + 1]
|
||||||
vx = weights[b]
|
vx = weights[b]
|
||||||
vy = weights[b + 1]
|
vy = weights[b + 1]
|
||||||
weight = weights[b + 2]
|
weight = weights[b + 2]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user