Tiny misc fixes for documentation
authorrmitton <richard@codersnotes.com>
Mon, 14 Dec 2015 06:12:25 +0000 (22:12 -0800)
committerrmitton <richard@codersnotes.com>
Mon, 14 Dec 2015 06:12:25 +0000 (22:12 -0800)
include/assimp/mesh.h
include/assimp/scene.h
tools/assimp_cmd/Main.cpp

index e7fa051..7519f4f 100644 (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.
      */
index 87cb7a6..193b294 100644 (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.
index 661e5d2..f55779a 100644 (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;
        }