mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-06 07:14:55 +08:00
Merge branch '3.8' into 3.9-beta
This commit is contained in:
commit
56e5e31790
@ -202,6 +202,8 @@ function SkeletonJson.new (attachmentLoader)
|
||||
data.target = skeletonData:findBone(targetName)
|
||||
if not data.target then error("Transform constraint target bone not found: " .. (targetName or "none"), 2) end
|
||||
|
||||
data.local_ = getValue(constraintMap, "local", false)
|
||||
data.relative = getValue(constraintMap, "relative", false)
|
||||
data.offsetRotation = getValue(constraintMap, "rotation", 0);
|
||||
data.offsetX = getValue(constraintMap, "x", 0) * scale;
|
||||
data.offsetY = getValue(constraintMap, "y", 0) * scale;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user