From 957426ed725fe11a6c4be99ba98aad1c75e60565 Mon Sep 17 00:00:00 2001 From: rmitton Date: Sun, 13 Dec 2015 22:12:25 -0800 Subject: [PATCH] Tiny misc fixes for documentation --- include/assimp/mesh.h | 2 +- include/assimp/scene.h | 4 +++- tools/assimp_cmd/Main.cpp | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/include/assimp/mesh.h b/include/assimp/mesh.h index e7fa051e5..7519f4f8a 100644 --- a/include/assimp/mesh.h +++ b/include/assimp/mesh.h @@ -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. */ diff --git a/include/assimp/scene.h b/include/assimp/scene.h index 87cb7a61c..193b294e4 100644 --- a/include/assimp/scene.h +++ b/include/assimp/scene.h @@ -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. diff --git a/tools/assimp_cmd/Main.cpp b/tools/assimp_cmd/Main.cpp index 661e5d224..f55779a7e 100644 --- a/tools/assimp_cmd/Main.cpp +++ b/tools/assimp_cmd/Main.cpp @@ -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; }