Merge branch '3.8' into 3.9-beta

This commit is contained in:
badlogic 2019-09-12 15:01:37 +02:00
commit b0ac11035f

View File

@ -680,8 +680,8 @@ function SkeletonJson.new (attachmentLoader)
end end
-- Path constraint timelines. -- Path constraint timelines.
if map.paths then if map.path then
for constraintName,constraintMap in pairs(map.paths) do for constraintName,constraintMap in pairs(map.path) do
local index = skeletonData:findPathConstraintIndex(constraintName) local index = skeletonData:findPathConstraintIndex(constraintName)
if index == -1 then error("Path constraint not found: " .. constraintName, 2) end if index == -1 then error("Path constraint not found: " .. constraintName, 2) end
local data = skeletonData.pathConstraints[index] local data = skeletonData.pathConstraints[index]