mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 18:19:55 +00:00
Fix boolean test
This commit is contained in:
parent
e987fe85d0
commit
3d58ba7301
1 changed files with 1 additions and 1 deletions
|
@ -1057,7 +1057,7 @@ void Optimizer::MergeGeometryVisitor::checkAllowedToMerge()
|
|||
{
|
||||
osg::StateSet* stateSet = *it;
|
||||
osg::StateSet::RenderBinMode mode = stateSet->getRenderBinMode();
|
||||
if (override && (!mode & osg::StateSet::PROTECTED_RENDERBIN_DETAILS))
|
||||
if (override && !(mode & osg::StateSet::PROTECTED_RENDERBIN_DETAILS))
|
||||
continue;
|
||||
if (mode & osg::StateSet::USE_RENDERBIN_DETAILS)
|
||||
renderingHint = stateSet->getRenderingHint();
|
||||
|
|
Loading…
Reference in a new issue