mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-12 16:15:20 +02:00
Irrlicht support code maintenance
This commit is contained in:
@@ -1473,11 +1473,8 @@ void GenericCAO::updateAnimation()
|
||||
if (m_animated_meshnode->getAnimationSpeed() != m_animation_speed)
|
||||
m_animated_meshnode->setAnimationSpeed(m_animation_speed);
|
||||
m_animated_meshnode->setTransitionTime(m_animation_blend);
|
||||
// Requires Irrlicht 1.8 or greater
|
||||
#if (IRRLICHT_VERSION_MAJOR == 1 && IRRLICHT_VERSION_MINOR >= 8) || IRRLICHT_VERSION_MAJOR > 1
|
||||
if (m_animated_meshnode->getLoopMode() != m_animation_loop)
|
||||
m_animated_meshnode->setLoopMode(m_animation_loop);
|
||||
#endif
|
||||
}
|
||||
|
||||
void GenericCAO::updateAnimationSpeed()
|
||||
|
Reference in New Issue
Block a user