MCPcopy Create free account
hub / github.com/NatronGitHub/Natron / wipeAndCreateDiskCacheStructure

Method wipeAndCreateDiskCacheStructure

Engine/AppManager.cpp:1321–1335  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1319}
1320
1321void
1322AppManager::wipeAndCreateDiskCacheStructure()
1323{
1324 //Should be called on the main-thread because potentially can interact with rendering
1325 assert( QThread::currentThread() == qApp->thread() );
1326
1327 abortAnyProcessing();
1328
1329 clearAllCaches();
1330
1331 assert(_imp->_diskCache);
1332 _imp->cleanUpCacheDiskStructure( _imp->_diskCache->getCachePath(), false );
1333 assert(_imp->_viewerCache);
1334 _imp->cleanUpCacheDiskStructure( _imp->_viewerCache->getCachePath() , true);
1335}
1336
1337AppInstancePtr
1338AppManager::getTopLevelInstance () const

Callers 1

onKnobValueChangedMethod · 0.80

Calls 1

Tested by

no test coverage detected