mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-07 07:44:53 +08:00
[skeletonviewer] Don't apply hold previous to track 0 or to the first entry on a track.
This commit is contained in:
parent
896e6a419c
commit
83931434cc
@ -295,10 +295,10 @@ public class SkeletonViewer extends ApplicationAdapter {
|
||||
entry.setMixDuration(ui.mixSlider.getValue());
|
||||
} else {
|
||||
entry = state.setAnimation(track, ui.animationList.getSelected(), ui.loopCheckbox.isChecked());
|
||||
entry.setHoldPrevious(track > 0 && ui.holdPrevCheckbox.isChecked());
|
||||
}
|
||||
entry.setMixBlend(ui.addCheckbox.isChecked() ? MixBlend.add : MixBlend.replace);
|
||||
entry.setReverse(ui.reverseCheckbox.isChecked());
|
||||
entry.setHoldPrevious(ui.holdPrevCheckbox.isChecked());
|
||||
entry.setAlpha(ui.alphaSlider.getValue());
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user