mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-04 14:24:53 +08:00
[skeletonviewer] Better place for test code.
This commit is contained in:
parent
31d040ee05
commit
c7e3729546
@ -144,6 +144,12 @@ public class SkeletonViewer extends ApplicationAdapter {
|
||||
|
||||
ui.loadPrefs();
|
||||
ui.prefsLoaded = true;
|
||||
|
||||
if (false) {
|
||||
ui.animationList.clearListeners();
|
||||
// Test code:
|
||||
// state.setAnimation(0, "walk", true);
|
||||
}
|
||||
}
|
||||
|
||||
FileHandle atlasFile (FileHandle skeletonFile) {
|
||||
@ -279,9 +285,6 @@ public class SkeletonViewer extends ApplicationAdapter {
|
||||
|
||||
if (ui.skinList.getSelected() != null) skeleton.setSkin(ui.skinList.getSelected());
|
||||
setAnimation();
|
||||
|
||||
// ui.animationList.clearListeners();
|
||||
// state.setAnimation(0, "walk", true);
|
||||
}
|
||||
|
||||
void setAnimation () {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user