Showing the changes to interface/src/renderer/GeometryCache.cpp (1 of 3 files). Show all
Unified · Split
| @@ -835,11 +835,14 @@ void GeometryReader::run() { · 834 unmodified lines | ||
| 835 | 835 | fbxgeo = readSVO(_reply->readAll()); |
| 836 | 836 | } else { |
| 837 | 837 | bool grabLightmaps = true; |
| 838 | + float lightmapLevel = 1.0f; | |
| 838 | 839 | // HACK: For monday 12/01/2014 we need to kill lighmaps loading in starchamber... |
| 839 | 840 | if (_url.path().toLower().endsWith("loungev4_11-18.fbx")) { |
| 840 | 841 | grabLightmaps = false; |
| 842 | + } else if (_url.path().toLower().endsWith("apt8_reboot.fbx")) { | |
| 843 | + lightmapLevel = 4.0f; | |
| 841 | 844 | } |
| 842 | − fbxgeo = readFBX(_reply->readAll(), _mapping, grabLightmaps); | |
| 845 | + fbxgeo = readFBX(_reply->readAll(), _mapping, grabLightmaps, lightmapLevel); | |
| 843 | 846 | } |
| 844 | 847 | QMetaObject::invokeMethod(geometry.data(), "setGeometry", Q_ARG(const FBXGeometry&, fbxgeo)); |
| 845 | 848 | |