From a40937b926853d1957dbb271bc80ecec1a5819e6 Mon Sep 17 00:00:00 2001 From: IMS212 Date: Sat, 21 Dec 2024 16:15:15 -0800 Subject: [PATCH] Fix transforms not being run on fast path --- .../render/frapi/render/AbstractBlockRenderContext.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/src/main/java/net/caffeinemc/mods/sodium/client/render/frapi/render/AbstractBlockRenderContext.java b/common/src/main/java/net/caffeinemc/mods/sodium/client/render/frapi/render/AbstractBlockRenderContext.java index 84e20f5f0b..5413cb129d 100644 --- a/common/src/main/java/net/caffeinemc/mods/sodium/client/render/frapi/render/AbstractBlockRenderContext.java +++ b/common/src/main/java/net/caffeinemc/mods/sodium/client/render/frapi/render/AbstractBlockRenderContext.java @@ -81,7 +81,7 @@ public void emitDirectly() { - private final MutableQuadViewImpl editorQuad = new BlockEmitter(); + private final BlockEmitter editorQuad = new BlockEmitter(); /** * The world which the block is being rendered in. @@ -233,7 +233,7 @@ public void bufferDefaultModel(BakedModel model, @Nullable BlockState state, Pre // Call processQuad instead of emit for efficiency // (avoid unnecessarily clearing data, trying to apply transforms, and performing cull check again) - this.processQuad(editorQuad); + editorQuad.transformAndEmit(); } }