Browse Source

Fix a logging message and a comment

Andy Maloney 12 years ago
parent
commit
c6d1a73854
2 changed files with 2 additions and 2 deletions
  1. 1 1
      code/ASEParser.cpp
  2. 1 1
      include/assimp/config.h

+ 1 - 1
code/ASEParser.cpp

@@ -1567,8 +1567,8 @@ void Parser::ParseLV4MeshBones(unsigned int iNumBones,ASE::Mesh& mesh)
 					unsigned int iIndex = strtoul10(filePtr,&filePtr);
 					if (iIndex >= iNumBones)
 					{
-						continue;
 						LogWarning("Bone index is out of bounds");
+						continue;
 					}
 					if (!ParseString(mesh.mBones[iIndex].mName,"*MESH_BONE_NAME"))						
 						SkipToNextToken();

+ 1 - 1
include/assimp/config.h

@@ -403,7 +403,7 @@ enum aiComponent
 	 * use the #aiProcess_OptimizeGraph step to do this */
 	aiComponent_LIGHTS = 0x100,
 
-	/** Removes all light sources (aiScene::mCameras).
+	/** Removes all cameras (aiScene::mCameras).
 	 * The corresponding scenegraph nodes are NOT removed.
 	 * use the #aiProcess_OptimizeGraph step to do this */
 	aiComponent_CAMERAS = 0x200,