Skip to content

Commit ffab67d

Browse files
committed
Fixed Issue with models slowly floating upwards. 2.14.2
1 parent 687b85f commit ffab67d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ plugins {
1111
}
1212

1313
group = "gg.generations"
14-
version = "2.14.1"
14+
version = "2.14.2"
1515

1616
java.toolchain.languageVersion.set(JavaLanguageVersion.of(21))
1717

src/library/java/gg/generations/rarecandy/renderer/animation/Animation.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ public void readNodeHierarchyPooled(float animTime, ModelNode node, Matrix4f[] b
179179
// Reuse pooled Vector3f for "origin" case
180180
Vector3f translation;
181181
if (name.equalsIgnoreCase("origin")) {
182-
translation = TEMP_ORIGIN_VECTOR;
182+
translation = TEMP_ORIGIN_VECTOR.set(0);
183183
} else {
184184
translation = AnimationMath.calcInterpolatedPosition(animTime, animNode);
185185
}

0 commit comments

Comments
 (0)