mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-20 17:26:01 +08:00
[lua] Fixed typo in SkeletonJson, closes #893
This commit is contained in:
parent
eb94d4e1f2
commit
7f864d6bc5
@ -246,7 +246,7 @@ function SkeletonJson.new (attachmentLoader)
|
||||
-- Linked meshes
|
||||
for i, linkedMesh in ipairs(self.linkedMeshes) do
|
||||
local skin = skeletonData.defaultSkin
|
||||
if linkedMesh.skin then skin = skeletonData.findSkin(linkedMesh.skin) end
|
||||
if linkedMesh.skin then skin = skeletonData:findSkin(linkedMesh.skin) end
|
||||
if not skin then error("Skin not found: " .. linkedMesh.skin) end
|
||||
local parent = skin:getAttachment(linkedMesh.slotIndex, linkedMesh.parent)
|
||||
if not parent then error("Parent mesh not found: " + linkedMesh.parent) end
|
||||
|
||||
2778
spine-ts/build/spine-widget.d.ts
vendored
2778
spine-ts/build/spine-widget.d.ts
vendored
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user