Skip to content

Commit

Permalink
Update Spine plugin to v4.2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
bladecoder committed Dec 2, 2024
1 parent ccf5320 commit 737ec25
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion adventure-editor/src/main/resources/versions.properties
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion blade-engine-spine-plugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 737ec25

Please sign in to comment.