mirror of
https://github.com/overte-org/overte.git
synced 2025-04-22 13:13:25 +02:00
fixing review comments
This commit is contained in:
parent
4513b64b00
commit
80e5581639
1 changed files with 1 additions and 1 deletions
|
@ -1588,7 +1588,7 @@ void Model::renderPart(RenderArgs* args, int meshIndex, int partIndex, int shape
|
|||
}
|
||||
|
||||
// guard against partially loaded meshes
|
||||
if (/*partIndex >= (int)networkMesh._parts.size() ||*/ partIndex >= mesh.parts.size()) {
|
||||
if (partIndex >= mesh.parts.size()) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue