Undo the hack to always use tangents with LOD meshes, now that the exporter correctly exports the tangent flag

This commit is contained in:
Marianne Gagnon 2014-01-17 18:36:38 -05:00
parent 18484df443
commit ec40e2f7fc

View File

@ -92,7 +92,7 @@ LODNode* LodNodeLoader::instanciate(const XMLNode* node, scene::ISceneNode* pare
continue;
}
//if (group[m].m_tangent && a_mesh->getMeshBuffer(0)->getVertexType() != video::EVT_TANGENTS)
if (group[m].m_tangent && a_mesh->getMeshBuffer(0)->getVertexType() != video::EVT_TANGENTS)
{
scene::IMeshManipulator* manip = irr_driver->getVideoDriver()->getMeshManipulator();
scene::IMesh* m2 = manip->createMeshWithTangents(a_mesh);