mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-06 07:14:55 +08:00
[spine-c] Add initialization of mixRotate to transform constraint(SkeletonJson) (#2083)
This commit is contained in:
parent
9882fe1da3
commit
1880447f0b
@ -1140,6 +1140,7 @@ spSkeletonData *spSkeletonJson_readSkeletonData(spSkeletonJson *self, const char
|
||||
data->offsetScaleY = Json_getFloat(constraintMap, "scaleY", 0);
|
||||
data->offsetShearY = Json_getFloat(constraintMap, "shearY", 0);
|
||||
|
||||
data->mixRotate = Json_getFloat(constraintMap, "mixRotate", 1);
|
||||
data->mixX = Json_getFloat(constraintMap, "mixX", 1);
|
||||
data->mixY = Json_getFloat(constraintMap, "mixY", data->mixX);
|
||||
data->mixScaleX = Json_getFloat(constraintMap, "mixScaleX", 1);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user