mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Convert any inventory item into a mesh, bring back InventoryItem::getImageRay(), some const-correctness fixes
This commit is contained in:
parent
36bcbca9ac
commit
02726f0003
5 changed files with 141 additions and 43 deletions
|
@ -304,7 +304,7 @@ struct TileSpec
|
|||
}
|
||||
|
||||
// Sets everything else except the texture in the material
|
||||
void applyMaterialOptions(video::SMaterial &material)
|
||||
void applyMaterialOptions(video::SMaterial &material) const
|
||||
{
|
||||
if(alpha != 255 && material_type != MATERIAL_ALPHA_VERTEX)
|
||||
dstream<<"WARNING: TileSpec: alpha != 255 "
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue