[lua] Fixed typo in SkeletonJson, closes #893

This commit is contained in:
badlogic 2017-05-08 12:39:16 +02:00
parent eb94d4e1f2
commit 7f864d6bc5
4 changed files with 9012 additions and 9009 deletions

View File

@ -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

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