forked from mirror/openmw-tes3mp
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)
|
||||
{
|
||||
traverse(node, nv);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
mLightManager->prepareForCamera(cv->getCurrentCamera());
|
||||
|
|
Loading…
Reference in a new issue