HPL1: disable loading files from the cache folder

This commit is contained in:
grisenti 2022-08-17 18:28:47 +02:00 committed by Eugene Sandulenko
parent 87656fbe55
commit ee8f35ba22
No known key found for this signature in database
GPG Key ID: 014D387312D34F08

View File

@ -66,6 +66,7 @@ bool cMeshLoaderCollada::FillStructures(const tString &asFile,
tColladaControllerVec *apColladaControllerVec,
tColladaAnimationVec *apColladaAnimVec,
cColladaScene *apColladaScene, bool abCache) {
abCache = false; // FIXME: find a way to enable the use of cache files
bool bLoadCache = false;
// abCache = false;
// Log("Loading %s\n",asFile.c_str());
@ -96,10 +97,10 @@ bool cMeshLoaderCollada::FillStructures(const tString &asFile,
apColladaControllerVec,
apColladaAnimVec,
apColladaScene);
} else if (abCache) {
Log("Cache out of date! Reloading collada file '%s'\n and generating cache files", asFile.c_str());
}
Log("Cache out of date! Reloading collada file '%s'\n", asFile.c_str());
/////////////////////////////////////////////////
// LOAD THE DOCUMENT
// unsigned long lStartTime = mpSystem->GetLowLevel()->GetTime();