mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +08:00
more reformatting
This commit is contained in:
parent
97097943a8
commit
96ff408022
@ -29,7 +29,6 @@ local SlotData = require "spine-lua.SlotData"
|
|||||||
local Skin = require "spine-lua.Skin"
|
local Skin = require "spine-lua.Skin"
|
||||||
local AttachmentLoader = require "spine-lua.AttachmentLoader"
|
local AttachmentLoader = require "spine-lua.AttachmentLoader"
|
||||||
local Animation = require "spine-lua.Animation"
|
local Animation = require "spine-lua.Animation"
|
||||||
-
|
|
||||||
local TIMELINE_SCALE = "scale"
|
local TIMELINE_SCALE = "scale"
|
||||||
local TIMELINE_ROTATE = "rotate"
|
local TIMELINE_ROTATE = "rotate"
|
||||||
local TIMELINE_TRANSLATE = "translate"
|
local TIMELINE_TRANSLATE = "translate"
|
||||||
@ -104,6 +103,7 @@ function SkeletonJson.new (attachmentLoader)
|
|||||||
slotData.attachmentName = slotMap["attachment"]
|
slotData.attachmentName = slotMap["attachment"]
|
||||||
table.insert(skeletonData.slots, slotData)
|
table.insert(skeletonData.slots, slotData)
|
||||||
skeletonData.slotNameIndices[slotData.name] = #skeletonData.slots
|
skeletonData.slotNameIndices[slotData.name] = #skeletonData.slots
|
||||||
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user