diff --git a/fabric-renderer-indigo/build.gradle b/fabric-renderer-indigo/build.gradle index 06ba3b7ca..f827dc167 100644 --- a/fabric-renderer-indigo/build.gradle +++ b/fabric-renderer-indigo/build.gradle @@ -1,5 +1,5 @@ archivesBaseName = "fabric-renderer-indigo" -version = getSubprojectVersion(project, "0.1.1") +version = getSubprojectVersion(project, "0.1.2") dependencies { compile project(path: ':fabric-api-base', configuration: 'dev') diff --git a/fabric-renderer-indigo/src/main/java/net/fabricmc/indigo/renderer/render/AbstractMeshConsumer.java b/fabric-renderer-indigo/src/main/java/net/fabricmc/indigo/renderer/render/AbstractMeshConsumer.java index f29b70546..276f43808 100644 --- a/fabric-renderer-indigo/src/main/java/net/fabricmc/indigo/renderer/render/AbstractMeshConsumer.java +++ b/fabric-renderer-indigo/src/main/java/net/fabricmc/indigo/renderer/render/AbstractMeshConsumer.java @@ -57,9 +57,7 @@ public abstract class AbstractMeshConsumer extends AbstractQuadRenderer implemen // only used via RenderContext.getEmitter() @Override public Maker emit() { - if(blockInfo.shouldDrawFace(this.cullFace())) { - renderQuad(this); - } + renderQuad(this); clear(); return this; } @@ -92,6 +90,10 @@ public abstract class AbstractMeshConsumer extends AbstractQuadRenderer implemen if(!transform.transform(editorQuad)) { return; } + + if(!blockInfo.shouldDrawFace(q.cullFace())) { + return; + } final RenderMaterialImpl.Value mat = q.material(); final int textureCount = mat.spriteDepth();