mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 18:50:00 +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 NetworkMesh& mesh, _geometry->getMeshes()) {
|
||||||
foreach (const NetworkMeshPart& part, mesh.parts) {
|
foreach (const NetworkMeshPart& part, mesh.parts) {
|
||||||
if (part.diffuseTexture && !part.diffuseTexture->isLoaded() ||
|
if ((part.diffuseTexture && !part.diffuseTexture->isLoaded()) ||
|
||||||
part.normalTexture && !part.normalTexture->isLoaded()) {
|
(part.normalTexture && !part.normalTexture->isLoaded())) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue