Skip to content

Commit

Permalink
SetOffsetPivot now has an effect on pivot types
Browse files Browse the repository at this point in the history
  • Loading branch information
UnlikePaladin committed Dec 11, 2023
1 parent 08b0f1b commit be898c2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ allprojects {

java_version = rootProject.java_version
archivesBaseName = rootProject.archives_base_name
version = rootProject.mod_version + "+" + rootProject.minecraft_version
version = rootProject.mod_version + "-" + rootProject.minecraft_version
group = rootProject.maven_group
if (project.hasProperty("release")) {
jarVersion = version
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,10 @@ else if (updateLight && (l = Minecraft.getInstance().level) != null) {

FiguraVec3 pivot = custom.getPivot();
pivotOffsetter.setPos(pivot);
pivotOffsetter.offsetPos(custom.getOffsetPos());
pivotOffsetter.offsetPivot(custom.getOffsetPivot());
pivotOffsetter.addOffsetPivot(custom.getOffsetPivot());
pivotOffsetter.addOffsetPos(custom.getOffsetPos());
pivotOffsetter.recalculate();
customizationStack.push(pivotOffsetter);

Expand Down

0 comments on commit be898c2

Please sign in to comment.