We are using assimp for importing collada scenes, which works very well except for that assimp leaves mesh names (aiMesh::mName) blank. I have made the following change to correct this:
--- code/ColladaLoader.cpp (revision 1300)
+++ code/ColladaLoader.cpp (working copy)
@@ -504,6 +504,7 @@
// assign the material index
dstMesh->mMaterialIndex = matIdx;
+ dstMesh->mName = mid.mMeshOrController;
Could this fix be included in future releases? It is otherwise impossible to differentiate between different meshes attached at the same node.
Thank you for this convenient library!
Comitted as … erm… some current revision. Thanks for your time.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.