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
1 changed files with 1 additions and 0 deletions

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