mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Fix after soft node overlays
This removes a segmentation fault and makes node meshes well colorized.
This commit is contained in:
parent
1ffb180868
commit
900b816162
2 changed files with 3 additions and 3 deletions
|
@ -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 != "") {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue