Explorar o código

Merge pull request #52 from asmaloney/minor_changes

Fix a logging message and a comment
Alexander Gessler %!s(int64=12) %!d(string=hai) anos
pai
achega
84e3bf50ba
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  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);
 					unsigned int iIndex = strtoul10(filePtr,&filePtr);
 					if (iIndex >= iNumBones)
 					if (iIndex >= iNumBones)
 					{
 					{
-						continue;
 						LogWarning("Bone index is out of bounds");
 						LogWarning("Bone index is out of bounds");
+						continue;
 					}
 					}
 					if (!ParseString(mesh.mBones[iIndex].mName,"*MESH_BONE_NAME"))						
 					if (!ParseString(mesh.mBones[iIndex].mName,"*MESH_BONE_NAME"))						
 						SkipToNextToken();
 						SkipToNextToken();

+ 1 - 1
include/assimp/config.h

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