Wrong load of indices with assimp addon and collada file

Hi there,

I’m having an issue loading collada files with the assimp addon.
this the dae file

I’m loading the file correctly but when I try to get the indices, stranger numbers appears.
This code put in the setup function

for (int i=0; i<30; i++){
	cout<<model.getMesh(0).getIndex(i) <<"  ";
	if (i%3 ==2) cout<<endl;
}

give me that :
0 1 2
303 11 0
10 304 0
2 483 0
0 483 303
1 0 304
0 11 10
477 303 476
11 303 477
476 303 483

the correct indices are
47 1223 1224
372 1228 1229
46 1180 1181
1309 1310 410
371 1185 1186
512 1226 1227
49 61 388
425 1221 1222
427 426 411
370 369 359

It seems that assimp is loading the faces and get the indices from faces. And there are not the ones that you can find in the dae file when you edit it with a text editor.
Is there a way to load the correct indices.

Actually :

I’m not a 3d expert… I guess that the assimp loader (as the other 3d loaders I used) are loading geometry, textures, … everything per triangles. Then it means that it’s difficult to animate one particular number of vertex (as it can be anywhere).

I’ve made my own collada loader for my very specific use (collada made with Blender, only uv mapping, don’t care of normals, …). It’s really easy with the xml addon, and most important it’s a per vertex loading, meaning I know where are each vertex and it won’t change after any edit in blender or in an other tools if needed.