Fix animated textures not working on animated meshes. FIxes #2432

This commit is contained in:
Marianne Gagnon 2016-01-30 18:11:58 -05:00
parent 40e193e415
commit 3de922bc19

View File

@ -492,6 +492,10 @@ void TrackObjectPresentationMesh::init(const XMLNode* xml_node,
m_frame_end = node->getEndFrame();
if (xml_node)
xml_node->get("frame-end", &m_frame_end);
if (World::getWorld() && World::getWorld()->getTrack() && xml_node)
World::getWorld()->getTrack()
->handleAnimatedTextures(m_node, *xml_node);
}
else
{