Applied Ghoul cleanups

This commit is contained in:
Alexander Bock
2015-11-22 21:26:02 -05:00
parent 01c1586616
commit 3806318b0d
7 changed files with 10 additions and 12 deletions

View File

@@ -140,9 +140,10 @@ ghoul::opengl::Texture* RenderableVolume::loadVolume(
std::stringstream ss;
ss << "." << dimensions[0] << "x" << dimensions[1] << "x" << dimensions[2] << "." << "." << variableCacheString << ".cache";
std::string cachepath; // = filepath + ss.str();
// = filepath + ss.str();
ghoul::filesystem::File ghlFile(filepath);
FileSys.cacheManager()->getCachedFile(ghlFile.baseName(), ss.str(), cachepath, true);
std::string cachepath = FileSys.cacheManager()->cachedFilename(ghlFile.baseName(),
ss.str(), true);
if (cache && FileSys.fileExists(cachepath)) {
#define VOLUME_LOAD_PROGRESSBAR