Skip to content

Commit 737ec25

Browse files
committed
Update Spine plugin to v4.2.7
1 parent ccf5320 commit 737ec25

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
androidAPILevel=35
22
androidGradlePluginVersion=8.6.1
33
bladeInkVersion=1.2.0
4-
libgdxVersion=1.12.1
4+
libgdxVersion=1.13.1-SNAPSHOT
55
roboVMVersion=2.3.21
66
version=4.3.1

blade-engine-spine-plugin/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jar {
2525

2626
dependencies {
2727
implementation "com.badlogicgames.gdx:gdx:$libgdxVersion"
28-
implementation "com.esotericsoftware.spine:spine-libgdx:4.1.0"
28+
implementation "com.esotericsoftware.spine:spine-libgdx:4.2.7"
2929

3030
implementation project(":blade-engine")
3131
}

blade-engine-spine-plugin/src/main/java/com/bladecoder/engine/spine/SpineRenderer.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,8 @@ private void updateAnimation(float time) {
233233

234234
cs.animation.update(time);
235235
cs.animation.apply(cs.skeleton);
236-
cs.skeleton.updateWorldTransform();
236+
237+
cs.skeleton.updateWorldTransform(Skeleton.Physics.none);
237238
}
238239

239240
private static final Matrix4 tmp = new Matrix4();
@@ -515,7 +516,7 @@ public void computeBbox() {
515516
}
516517

517518
cs.skeleton.setPosition(0, 0);
518-
cs.skeleton.updateWorldTransform();
519+
cs.skeleton.updateWorldTransform(Skeleton.Physics.none);
519520
bounds.update(cs.skeleton, true);
520521

521522
if (bounds.getWidth() > 0 && bounds.getHeight() > 0) {

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
version=4.3.1
2-
libgdxVersion=1.12.1
2+
libgdxVersion=1.13.1-SNAPSHOT
33
roboVMVersion=2.3.21
44
androidAPILevel=35
55
androidGradlePluginVersion=8.6.1

0 commit comments

Comments
 (0)