mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-12-24 23:53:06 +00:00
Minor fix for behaviour with non-existing LightManager
This commit is contained in:
parent
314c1161ae
commit
8b768f4377
1 changed files with 3 additions and 0 deletions
|
|
@ -244,7 +244,10 @@ namespace SceneUtil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!mLightManager)
|
if (!mLightManager)
|
||||||
|
{
|
||||||
|
traverse(node, nv);
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
mLightManager->prepareForCamera(cv->getCurrentCamera());
|
mLightManager->prepareForCamera(cv->getCurrentCamera());
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue