mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-19 22:23:51 +00:00
Fix crash when incremental compile operation is not used
This commit is contained in:
parent
bcbee08a1b
commit
aecbc2f01c
1 changed files with 1 additions and 0 deletions
|
@ -729,6 +729,7 @@ namespace Resource
|
|||
|
||||
void SceneManager::reportStats(unsigned int frameNumber, osg::Stats *stats) const
|
||||
{
|
||||
if (mIncrementalCompileOperation)
|
||||
{
|
||||
OpenThreads::ScopedLock<OpenThreads::Mutex> lock(*mIncrementalCompileOperation->getToCompiledMutex());
|
||||
stats->setAttribute(frameNumber, "Compiling", mIncrementalCompileOperation->getToCompile().size());
|
||||
|
|
Loading…
Reference in a new issue