mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 11:45:36 +02:00
commit
c4befbef38
1 changed files with 2 additions and 2 deletions
|
@ -52,8 +52,8 @@ bool Model::isLoadedWithTextures() const {
|
|||
}
|
||||
foreach (const NetworkMesh& mesh, _geometry->getMeshes()) {
|
||||
foreach (const NetworkMeshPart& part, mesh.parts) {
|
||||
if (part.diffuseTexture && !part.diffuseTexture->isLoaded() ||
|
||||
part.normalTexture && !part.normalTexture->isLoaded()) {
|
||||
if ((part.diffuseTexture && !part.diffuseTexture->isLoaded()) ||
|
||||
(part.normalTexture && !part.normalTexture->isLoaded())) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue