fix indentation broken by visual studio for no reason

This commit is contained in:
Simon 2019-04-13 15:43:10 +01:00
parent 47001c9ce3
commit 09fa8f9886
3 changed files with 5 additions and 5 deletions

View File

@ -127,8 +127,8 @@ int main(int argc, char* argv[]) {
app.add_flag( app.add_flag(
"--animation-files", "--animation-files",
gltfOptions.readAnimationFiles, gltfOptions.readAnimationFiles,
"Read multiple fbx animation files."); "Read multiple fbx animation files.");
app.add_flag( app.add_flag(
"--user-properties", "--user-properties",

View File

@ -95,7 +95,7 @@ struct GltfOptions
/** Whether to include lights through the KHR_punctual_lights extension. */ /** Whether to include lights through the KHR_punctual_lights extension. */
bool useKHRLightsPunctual { true }; bool useKHRLightsPunctual { true };
/** Whether to read multiple fbx animation files. */ /** Whether to read multiple fbx animation files. */
bool readAnimationFiles { false }; bool readAnimationFiles { false };
/** Whether to include blend shape normals, if present according to the SDK. */ /** Whether to include blend shape normals, if present according to the SDK. */

View File

@ -776,7 +776,7 @@ static void ReadAnimations(RawModel& raw, FbxScene* pScene, bool nodeNameLookup)
channel.nodeIndex = raw.GetNodeByName(pNode->GetName()); channel.nodeIndex = raw.GetNodeByName(pNode->GetName());
} else { } else {
channel.nodeIndex = raw.GetNodeById(pNode->GetUniqueID()); channel.nodeIndex = raw.GetNodeById(pNode->GetUniqueID());
} }
if (channel.nodeIndex == -1) { if (channel.nodeIndex == -1) {
continue; continue;
} }
@ -1079,7 +1079,7 @@ bool LoadFBXFile(
animationFileNumber++; animationFileNumber++;
} else { } else {
readAnimationFiles = false; readAnimationFiles = false;
} }
} }
pManager->Destroy(); pManager->Destroy();