mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-10-03 10:03:49 -04:00
Minor fix for behaviour with non-existing LightManager
This commit is contained in:
parent
314c1161ae
commit
8b768f4377
@ -244,8 +244,11 @@ namespace SceneUtil
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!mLightManager)
|
if (!mLightManager)
|
||||||
|
{
|
||||||
|
traverse(node, nv);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
mLightManager->prepareForCamera(cv->getCurrentCamera());
|
mLightManager->prepareForCamera(cv->getCurrentCamera());
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user