From 5ed73c8a941b68c4c8f67912dd3cc86320c27544 Mon Sep 17 00:00:00 2001 From: NathanSweet Date: Mon, 24 Feb 2020 00:47:19 +0100 Subject: [PATCH] Use field for Skeleton Viewer version. --- .../src/com/esotericsoftware/spine/SkeletonViewer.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spine-libgdx/spine-skeletonviewer/src/com/esotericsoftware/spine/SkeletonViewer.java b/spine-libgdx/spine-skeletonviewer/src/com/esotericsoftware/spine/SkeletonViewer.java index 7476429c7..e6a7275b9 100644 --- a/spine-libgdx/spine-skeletonviewer/src/com/esotericsoftware/spine/SkeletonViewer.java +++ b/spine-libgdx/spine-skeletonviewer/src/com/esotericsoftware/spine/SkeletonViewer.java @@ -96,6 +96,7 @@ public class SkeletonViewer extends ApplicationAdapter { static float uiScale = 1; static String[] atlasSuffixes = {".atlas", ".atlas.txt", "-pro.atlas", "-pro.atlas.txt", "-ess.atlas", "-ess.atlas.txt"}; static String[] args; + static final String version = ""; // Replaced by build. UI ui; @@ -681,7 +682,7 @@ public class SkeletonViewer extends ApplicationAdapter { stage.addActor(table); table.pad(10).top().right(); table.defaults().right(); - table.add(new Label("", skin, "default", Color.LIGHT_GRAY)); // Version. + table.add(new Label(version, skin, "default", Color.LIGHT_GRAY)); } }