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(
"--animation-files",
gltfOptions.readAnimationFiles,
"Read multiple fbx animation files.");
gltfOptions.readAnimationFiles,
"Read multiple fbx animation files.");
app.add_flag(
"--user-properties",

View File

@ -95,7 +95,7 @@ struct GltfOptions
/** Whether to include lights through the KHR_punctual_lights extension. */
bool useKHRLightsPunctual { true };
/** Whether to read multiple fbx animation files. */
/** Whether to read multiple fbx animation files. */
bool readAnimationFiles { false };
/** 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());
} else {
channel.nodeIndex = raw.GetNodeById(pNode->GetUniqueID());
}
}
if (channel.nodeIndex == -1) {
continue;
}
@ -1079,7 +1079,7 @@ bool LoadFBXFile(
animationFileNumber++;
} else {
readAnimationFiles = false;
}
}
}
pManager->Destroy();