Collada normal direction wrong from Blender

Hi guys,

I have problem with collada file exported from Blender. The texture works fine but it seems like the normal direction is flip. I tried to flip it in Blender and export again but the result is the same. Any idea how i can resolve this? Thanks!

you could loop through the normals in the mesh and flip them.

for(int i = 0; i < myMesh.getNumNormals(); i++) {  
     ofVec3f normal = myMesh.getNormal( i );  
     // just in case //  
     myMesh.setNormal(i, normal * -1.f);