diff --git a/src/graphics/render/BlocksRenderer.cpp b/src/graphics/render/BlocksRenderer.cpp index 1980a5d97..503326b14 100644 --- a/src/graphics/render/BlocksRenderer.cpp +++ b/src/graphics/render/BlocksRenderer.cpp @@ -330,8 +330,7 @@ void BlocksRenderer::blockCustomModel( vp = vp.x * X + vp.y * Y + vp.z * Z; if (!block.rt.extended - && !isOpen(glm::floor(coord + vp + 0.5f + n * 1e-3f), block, variant) - /*&& is_aligned(n)*/) { + && !isOpen(glm::floor(coord + vp + 0.5f + n * 1e-3f), block, variant)) { continue; } diff --git a/src/voxels/Block.cpp b/src/voxels/Block.cpp index 17a3acc46..65830efc5 100644 --- a/src/voxels/Block.cpp +++ b/src/voxels/Block.cpp @@ -125,9 +125,6 @@ Block::Block(std::string name, const std::string& texture) void Block::cloneTo(Block& dst) { dst.caption = caption; - for (int i = 0; i < 6; i++) { - dst.defaults = defaults; - } dst.defaults = defaults; if (variants) { dst.variants = std::make_unique(*variants); @@ -155,6 +152,7 @@ void Block::cloneTo(Block& dst) { dst.tickInterval = tickInterval; dst.overlayTexture = overlayTexture; dst.translucent = translucent; + dst.explictlySolid = explictlySolid; dst.tags = tags; if (particles) { dst.particles = std::make_unique(*particles);