History

first major pass at voxelEctomy

ZappoMan committed 11 years ago

Commit 4ea9bbc1 parent 2a129b665 files · +43 −5956Browse files

Showing the changes to libraries/render-utils/src/GeometryCache.cpp (1 of 65 files). Show all

Unified · Split

libraries/render-utils/src/GeometryCache.cpp+1−8
@@ -1367,14 +1367,7 @@ void GeometryReader::run() { · 1366 unmodified lines
1367 if (urlValid) {1367 if (urlValid) {
1368 // Let's read the binaries from the network1368 // 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...