diff --git a/adventure-editor/src/main/resources/versions.properties b/adventure-editor/src/main/resources/versions.properties index 46f8eb8d..fc990d11 100644 --- a/adventure-editor/src/main/resources/versions.properties +++ b/adventure-editor/src/main/resources/versions.properties @@ -1,6 +1,6 @@ androidAPILevel=35 androidGradlePluginVersion=8.6.1 bladeInkVersion=1.2.0 -libgdxVersion=1.12.1 +libgdxVersion=1.13.1-SNAPSHOT roboVMVersion=2.3.21 version=4.3.1 diff --git a/blade-engine-spine-plugin/build.gradle b/blade-engine-spine-plugin/build.gradle index 7241bf86..c9d951f6 100644 --- a/blade-engine-spine-plugin/build.gradle +++ b/blade-engine-spine-plugin/build.gradle @@ -25,7 +25,7 @@ jar { dependencies { implementation "com.badlogicgames.gdx:gdx:$libgdxVersion" - implementation "com.esotericsoftware.spine:spine-libgdx:4.1.0" + implementation "com.esotericsoftware.spine:spine-libgdx:4.2.7" implementation project(":blade-engine") } diff --git a/blade-engine-spine-plugin/src/main/java/com/bladecoder/engine/spine/SpineRenderer.java b/blade-engine-spine-plugin/src/main/java/com/bladecoder/engine/spine/SpineRenderer.java index 02edfc1b..6a6407ba 100644 --- a/blade-engine-spine-plugin/src/main/java/com/bladecoder/engine/spine/SpineRenderer.java +++ b/blade-engine-spine-plugin/src/main/java/com/bladecoder/engine/spine/SpineRenderer.java @@ -233,7 +233,8 @@ private void updateAnimation(float time) { cs.animation.update(time); cs.animation.apply(cs.skeleton); - cs.skeleton.updateWorldTransform(); + + cs.skeleton.updateWorldTransform(Skeleton.Physics.none); } private static final Matrix4 tmp = new Matrix4(); @@ -515,7 +516,7 @@ public void computeBbox() { } cs.skeleton.setPosition(0, 0); - cs.skeleton.updateWorldTransform(); + cs.skeleton.updateWorldTransform(Skeleton.Physics.none); bounds.update(cs.skeleton, true); if (bounds.getWidth() > 0 && bounds.getHeight() > 0) { diff --git a/gradle.properties b/gradle.properties index ed52d505..710b09ad 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,5 +1,5 @@ version=4.3.1 -libgdxVersion=1.12.1 +libgdxVersion=1.13.1-SNAPSHOT roboVMVersion=2.3.21 androidAPILevel=35 androidGradlePluginVersion=8.6.1