mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 08:35:20 +02:00
Fix after soft node overlays
This removes a segmentation fault and makes node meshes well colorized.
This commit is contained in:
@@ -438,7 +438,7 @@ void getItemMesh(Client *client, const ItemStack &item, ItemMesh *result)
|
||||
g_extrusion_mesh_cache->grab();
|
||||
}
|
||||
|
||||
scene::SMesh *mesh;
|
||||
scene::SMesh *mesh = NULL;
|
||||
|
||||
// If inventory_image is defined, it overrides everything else
|
||||
if (def.inventory_image != "") {
|
||||
|
Reference in New Issue
Block a user