mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-04 14:24:53 +08:00
Fixed TransformConstraint constructors.
This commit is contained in:
parent
27958c145b
commit
188bf8dc03
@ -20,6 +20,9 @@ public class TransformConstraint implements Updatable {
|
||||
shearMix = data.shearMix;
|
||||
offsetX = data.offsetX;
|
||||
offsetY = data.offsetY;
|
||||
offsetScaleX = data.offsetScaleX;
|
||||
offsetScaleY = data.offsetScaleY;
|
||||
offsetShearY = data.offsetShearY;
|
||||
|
||||
if (skeleton != null) {
|
||||
bone = skeleton.findBone(data.bone.name);
|
||||
@ -38,6 +41,9 @@ public class TransformConstraint implements Updatable {
|
||||
shearMix = constraint.shearMix;
|
||||
offsetX = constraint.offsetX;
|
||||
offsetY = constraint.offsetY;
|
||||
offsetScaleX = constraint.offsetScaleX;
|
||||
offsetScaleY = constraint.offsetScaleY;
|
||||
offsetShearY = constraint.offsetShearY;
|
||||
}
|
||||
|
||||
public void apply () {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user