PR feedback

This commit is contained in:
mnaumov
2021-06-10 14:37:02 -07:00
parent e1d2115cab
commit d53b5a0bed
@@ -217,13 +217,13 @@ namespace AZ
{
EditorMeshStatsForLod stats;
const auto& meshes = lodAsset->GetMeshes();
stats.m_meshCount = lodAsset->GetMeshes().size();
stats.m_meshCount = meshes.size();
for (const auto& mesh : meshes)
{
stats.m_vertCount += mesh.GetVertexCount();
stats.m_triCount += mesh.GetIndexCount() / 3;
}
m_stats.m_meshStatsForLod.emplace_back(stats);
m_stats.m_meshStatsForLod.emplace_back(AZStd::move(stats));
}
// Refresh the tree when the model loads to update UI based on the model.