Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

emf plugin minor fix #607

Merged
merged 2 commits into from
Aug 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion plugins.json
Original file line number Diff line number Diff line change
Expand Up @@ -955,7 +955,7 @@
"icon": "icon.png",
"description": "Adds extra animation support to CEM Template Loader so that it is compatible with the Entity Model Features mod.",
"tags": ["Minecraft: Java Edition", "Entity Models", "Animation"],
"version": "1.0.3",
"version": "1.0.4",
"min_version": "4.9.0",
"variant": "both",
"dependencies": ["cem_template_loader"],
Expand Down
13 changes: 13 additions & 0 deletions plugins/emf_animation_addon/changelog.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,18 @@
]
}
]
},
"1.0.4": {
"title": "1.0.4",
"date": "2024-08-25",
"author": "Traben",
"categories": [
{
"title": "fixed keyframe method bug",
"list": [
"Fixed a bug in the keyframe methods"
]
}
]
}
}
4 changes: 2 additions & 2 deletions plugins/emf_animation_addon/emf_animation_addon.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
author: "Traben & Ewan Howell",
description: "Adds extra animation support to CEM Template Loader so that it is compatible with the Entity Model Features mod.",
tags: ["Minecraft: Java Edition", "Entity Models", "Animation"],
version: "1.0.3",
version: "1.0.4",
min_version: "4.9.0",
variant: "both",
dependencies: ["cem_template_loader"],
Expand Down Expand Up @@ -516,7 +516,7 @@
let nextFrame = args[((deltaFloor + 1) % frameCount + frameCount) % frameCount];
let afterFrame = args[((deltaFloor + 2) % frameCount + frameCount) % frameCount];

let individualFrameDelta = Math.frac(k);
let individualFrameDelta = optifineAnimationVariables.constants.frac(k);

return catmullrom(individualFrameDelta, beforeFrame, baseFrame, nextFrame, afterFrame);
}
Expand Down
Loading