mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 09:28:46 +02:00
Fix for Xcode warnings.
This commit is contained in:
parent
b0f3ab3ccd
commit
f5fece5eb5
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