Showing the changes to libraries/render-utils/src/GeometryCache.cpp (1 of 65 files). Show all
Unified · Split
| @@ -1367,14 +1367,7 @@ void GeometryReader::run() { · 1366 unmodified lines | |||
| 1367 | if (urlValid) { | 1367 | if (urlValid) { |
| 1368 | // Let's read the binaries from the network | 1368 | // Let's read the binaries from the network |
| 1369 | FBXGeometry fbxgeo; | 1369 | FBXGeometry fbxgeo; |
| 1370 | if (_url.path().toLower().endsWith(".svo")) { | 1370 | if (_url.path().toLower().endsWith(".fbx")) { |
| 1371 | QByteArray fileBinary = _reply->readAll(); | ||
| 1372 | if (fileBinary.isEmpty() || fileBinary.isNull()) { | ||
| 1373 | throw QString("Read File binary is empty?!"); | ||
| 1374 | } | ||
| 1375 | fbxgeo = readSVO(fileBinary); | ||
| 1376 | |||
| 1377 | } else if (_url.path().toLower().endsWith(".fbx")) { | ||
| 1378 | bool grabLightmaps = true; | 1371 | bool grabLightmaps = true; |
| 1379 | float lightmapLevel = 1.0f; | 1372 | float lightmapLevel = 1.0f; |
| 1380 | // HACK: For monday 12/01/2014 we need to kill lighmaps loading in starchamber... | 1373 | // HACK: For monday 12/01/2014 we need to kill lighmaps loading in starchamber... |