mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-28 19:39:41 +00:00
Use CullVisitor traversal mask for light manager.
This commit is contained in:
parent
9d84853903
commit
4438ab4493
1 changed files with 1 additions and 1 deletions
|
@ -399,7 +399,7 @@ namespace SceneUtil
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!(cv->getCurrentCamera()->getCullMask() & mLightManager->getLightingMask()))
|
if (!(cv->getTraversalMask() & mLightManager->getLightingMask()))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
// Possible optimizations:
|
// Possible optimizations:
|
||||||
|
|
Loading…
Reference in a new issue