CXMeshFileLoader: initialize normals to zero during loading

This commit is contained in:
sfan5 2021-06-19 22:22:47 +02:00
parent c84d8acff9
commit 0500a7798b

View File

@ -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())