mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-05 19:31:04 +00:00
Document that object properties colors
field is unused (#15685)
This commit is contained in:
parent
f17498b049
commit
a8c4c55d58
5 changed files with 4 additions and 6 deletions
|
@ -1407,8 +1407,8 @@ void GenericCAO::updateTextures(std::string mod)
|
|||
});
|
||||
}
|
||||
// Set mesh color (only if lighting is disabled)
|
||||
if (!m_prop.colors.empty() && m_prop.glow < 0)
|
||||
setMeshColor(mesh, m_prop.colors[0]);
|
||||
if (m_prop.glow < 0)
|
||||
setMeshColor(mesh, {255, 255, 255, 255});
|
||||
}
|
||||
}
|
||||
// Prevent showing the player after changing texture
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue