Minor fix for behaviour with non-existing LightManager

This commit is contained in:
scrawl 2015-05-18 21:06:42 +02:00
parent 314c1161ae
commit 8b768f4377

View file

@ -244,8 +244,11 @@ namespace SceneUtil
} }
} }
if (!mLightManager) if (!mLightManager)
{
traverse(node, nv);
return; return;
} }
}
mLightManager->prepareForCamera(cv->getCurrentCamera()); mLightManager->prepareForCamera(cv->getCurrentCamera());