Fix a bunch of warnings

This commit is contained in:
SirLynix
2022-11-13 16:12:49 +01:00
parent 71c5133c7a
commit 842e797cc4
34 changed files with 47 additions and 90 deletions

View File

@@ -476,10 +476,7 @@ std::shared_ptr<Nz::SubMesh> ProcessSubMesh(const std::filesystem::path& originP
if (meshData->HasVertexColors(0))
{
for (unsigned int vertexIndex = 0; vertexIndex < vertexCount; ++vertexIndex)
{
aiColor4D color = meshData->mColors[0][vertexIndex];
*colorPtr++ = FromAssimp(meshData->mColors[0][vertexIndex]);
}
}
else
{