mirror of
https://github.com/minetest/irrlicht.git
synced 2024-12-24 17:50:31 +01:00
CXMeshFileLoader: initialize normals to zero during loading
This commit is contained in:
parent
c84d8acff9
commit
0500a7798b
@ -764,6 +764,7 @@ bool CXMeshFileLoader::parseDataObjectMesh(SXMesh &mesh)
|
||||
{
|
||||
readVector3(mesh.Vertices[n].Pos);
|
||||
mesh.Vertices[n].Color=0xFFFFFFFF;
|
||||
mesh.Vertices[n].Normal=core::vector3df(0.0f);
|
||||
}
|
||||
|
||||
if (!checkForTwoFollowingSemicolons())
|
||||
|
Loading…
Reference in New Issue
Block a user