Tiny misc fixes for documentation

pull/715/head
rmitton 2015-12-13 22:12:25 -08:00
parent 078dd0c08b
commit 957426ed72
3 changed files with 5 additions and 3 deletions

View File

@ -578,7 +578,7 @@ struct aiMesh
C_STRUCT aiBone** mBones; C_STRUCT aiBone** mBones;
/** The material used by this mesh. /** 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 * multiple materials, the import splits up the mesh. Use this value
* as index into the scene's material list. * as index into the scene's material list.
*/ */

View File

@ -109,7 +109,9 @@ struct aiNode
/** The number of meshes of this node. */ /** The number of meshes of this node. */
unsigned int mNumMeshes; 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; unsigned int* mMeshes;
/** Metadata associated with this node or NULL if there is no metadata. /** Metadata associated with this node or NULL if there is no metadata.

View File

@ -291,7 +291,7 @@ const aiScene* ImportModel(
PrintHorBar(); PrintHorBar();
} }
if (!scene) { if (!scene) {
printf("ERROR: Failed to load file\n"); printf("ERROR: Failed to load file: %s\n", globalImporter->GetErrorString());
return NULL; return NULL;
} }