1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-26 09:35:28 +00:00

Merge branch 'holsteredshield-already-has-shaders' into 'master'

Remove redundant recreateShaders

See merge request OpenMW/openmw!1368
This commit is contained in:
psi29a 2021-11-09 14:12:43 +00:00
commit 28589b9692

View File

@ -261,9 +261,6 @@ void ActorAnimation::updateHolsteredShield(bool showCarriedLeft)
if (isEnchanted)
SceneUtil::addEnchantedGlow(shieldNode, mResourceSystem, glowColor);
}
if (mAlpha != 1.f)
mResourceSystem->getSceneManager()->recreateShaders(mHolsteredShield->getNode());
}
bool ActorAnimation::useShieldAnimations() const