mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-23 18:21:23 +08:00
[libgdx] Fixed setting slot sequence to setup pose.
This commit is contained in:
parent
cf7b5f1567
commit
1a6b0cf397
@ -73,7 +73,7 @@ public class Slot extends Posed<SlotData, SlotPose, SlotPose> {
|
|||||||
public void setupPose () {
|
public void setupPose () {
|
||||||
pose.color.set(data.setup.color);
|
pose.color.set(data.setup.color);
|
||||||
if (pose.darkColor != null) pose.darkColor.set(data.setup.darkColor);
|
if (pose.darkColor != null) pose.darkColor.set(data.setup.darkColor);
|
||||||
pose.sequenceIndex = pose.sequenceIndex;
|
pose.sequenceIndex = data.setup.sequenceIndex;
|
||||||
if (data.attachmentName == null)
|
if (data.attachmentName == null)
|
||||||
pose.setAttachment(null);
|
pose.setAttachment(null);
|
||||||
else {
|
else {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user