Showing the changes to interface/src/renderer/GeometryCache.cpp (1 of 4 files). Show all
Unified · Split
| @@ -365,11 +365,11 @@ void NetworkGeometry::maybeReadModelWithMapping() { · 364 unmodified lines | ||
| 365 | 365 | basePath = basePath.left(basePath.lastIndexOf('/') + 1); |
| 366 | 366 | if (!part.diffuseFilename.isEmpty()) { |
| 367 | 367 | url.setPath(basePath + part.diffuseFilename); |
| 368 | − networkPart.diffuseTexture = Application::getInstance()->getTextureCache()->getTexture(url, mesh.isEye); | |
| 368 | + networkPart.diffuseTexture = Application::getInstance()->getTextureCache()->getTexture(url, false, mesh.isEye); | |
| 369 | 369 | } |
| 370 | 370 | if (!part.normalFilename.isEmpty()) { |
| 371 | 371 | url.setPath(basePath + part.normalFilename); |
| 372 | − networkPart.normalTexture = Application::getInstance()->getTextureCache()->getTexture(url); | |
| 372 | + networkPart.normalTexture = Application::getInstance()->getTextureCache()->getTexture(url, true); | |
| 373 | 373 | } |
| 374 | 374 | networkMesh.parts.append(networkPart); |
| 375 | 375 | |