mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-15 01:25:20 +02:00
Document that object properties colors
field is unused (#15685)
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user