mirror of
https://github.com/OpenMW/openmw.git
synced 2025-07-06 11:11:38 +00:00
restores _mergeAlphaBlending behaviour (#3222)
This PR restores a minor peculiarity of `_mergeAlphaBlending` behaviour unintentionally changed by PR #3162.
This commit is contained in:
parent
627f816348
commit
726653087e
1 changed files with 1 additions and 1 deletions
|
@ -1137,7 +1137,7 @@ bool isAbleToMerge(const osg::Geometry& g1, const osg::Geometry& g2)
|
|||
|
||||
bool Optimizer::MergeGeometryVisitor::pushStateSet(osg::StateSet *stateSet)
|
||||
{
|
||||
if (_mergeAlphaBlending || !stateSet || stateSet->getRenderBinMode() & osg::StateSet::INHERIT_RENDERBIN_DETAILS)
|
||||
if (!stateSet || stateSet->getRenderBinMode() & osg::StateSet::INHERIT_RENDERBIN_DETAILS)
|
||||
return false;
|
||||
_stateSetStack.push_back(stateSet);
|
||||
checkAlphaBlendingActive();
|
||||
|
|
Loading…
Reference in a new issue