C_STRUCT aiBone** mBones;
/** The material used by this mesh.
- * A mesh does use only a single material. If an imported model uses
+ * A mesh uses only a single material. If an imported model uses
* multiple materials, the import splits up the mesh. Use this value
* as index into the scene's material list.
*/
/** The number of meshes of this node. */
unsigned int mNumMeshes;
- /** The meshes of this node. Each entry is an index into the mesh */
+ /** The meshes of this node. Each entry is an index into the
+ * mesh list of the #aiScene.
+ */
unsigned int* mMeshes;
/** Metadata associated with this node or NULL if there is no metadata.
PrintHorBar();
}
if (!scene) {
- printf("ERROR: Failed to load file\n");
+ printf("ERROR: Failed to load file: %s\n", globalImporter->GetErrorString());
return NULL;
}