mirror of
https://github.com/minetest/minetestmapper.git
synced 2024-11-24 16:33:47 +01:00
Fix unknown nodes showing up as black
This commit is contained in:
parent
7d15dbf4ed
commit
6b511e5e79
@ -485,9 +485,9 @@ inline void TileGenerator::renderMapBlock(const unsigned_string &mapBlock, const
|
||||
m_image->tpixels[imageY][imageX] = rgb2int(c.r, c.g, c.b);
|
||||
m_readedPixels[z] |= (1 << x);
|
||||
m_blockPixelAttributes.attribute(15 - z, xBegin + x).height = pos.y * 16 + y;
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
m_unknownNodes.insert(name);
|
||||
continue;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user