Tiny misc fixes for documentation
parent
078dd0c08b
commit
957426ed72
|
@ -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.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -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.
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue