Merge pull request #715 from rmitton/doc_fixes

Tiny misc fixes for documentation
pull/720/merge
Kim Kulling 2015-12-14 09:12:17 +01:00
commit 40272b4d26
3 changed files with 5 additions and 3 deletions

View File

@ -578,7 +578,7 @@ struct aiMesh
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.
*/

View File

@ -109,7 +109,9 @@ struct aiNode
/** 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.

View File

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