1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-26 09:35:28 +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: