1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-02-28 14:39:41 +00:00

Use CullVisitor traversal mask for light manager.

This commit is contained in:
AnyOldName3 2019-01-24 22:42:23 +00:00
parent 9d84853903
commit 4438ab4493

View file

@ -399,7 +399,7 @@ namespace SceneUtil
return false;
}
if (!(cv->getCurrentCamera()->getCullMask() & mLightManager->getLightingMask()))
if (!(cv->getTraversalMask() & mLightManager->getLightingMask()))
return false;
// Possible optimizations: