[Bug] Tangent calculator broken for triangle strip and fan.
Posted: Thu Jul 19, 2012 3:22 am
In OgreMesh.cpp, line 1267, v1.8:
must be changed to:
To avoid subMesh primitive type to be defaulted to RenderOperation::OT_TRIANGLE_LIST causing error in tangent calculation for triangles strips and fans.
I will submit patch soon.
Code: Select all
tangentsCalc.addIndexData(sm->indexData);Code: Select all
tangentsCalc.addIndexData(sm->indexData, sm->operationType);I will submit patch soon.