mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-06 23:34:53 +08:00
[as3] Closes #715, wrong default rotation mode for path constraints
This commit is contained in:
parent
204050e1c2
commit
ea0c2ae704
Binary file not shown.
@ -198,7 +198,7 @@ public class SkeletonJson {
|
||||
|
||||
pathConstraintData.positionMode = PositionMode[constraintMap["positionMode"] || "percent"];
|
||||
pathConstraintData.spacingMode = SpacingMode[constraintMap["spacingMode"] || "length"];
|
||||
pathConstraintData.rotateMode = RotateMode[constraintMap["rotateMode"] || "rotateMode"];
|
||||
pathConstraintData.rotateMode = RotateMode[constraintMap["rotateMode"] || "tangent"];
|
||||
pathConstraintData.offsetRotation = Number(constraintMap["rotation"] || 0);
|
||||
pathConstraintData.position = Number(constraintMap["position"] || 0);
|
||||
if (pathConstraintData.positionMode == PositionMode.fixed) pathConstraintData.position *= scale;
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user