forked from teamnwah/openmw-tes3coop
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,8 +244,11 @@ 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