Remove redundant recreateShaders

macos-builds-only-for-openmw
AnyOldName3 3 years ago
parent 9d134efb4d
commit 90ce50190e

@ -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

Loading…
Cancel
Save