1
0
Fork 0
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:
Dániel Juhász 2017-04-21 18:04:06 +02:00 committed by sfan5
parent 1ffb180868
commit 900b816162
2 changed files with 3 additions and 3 deletions

View file

@ -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 != "") {