From 09fa8f988611dfa675e55c5921b1852de3e3594c Mon Sep 17 00:00:00 2001 From: Simon Date: Sat, 13 Apr 2019 15:43:10 +0100 Subject: [PATCH] fix indentation broken by visual studio for no reason --- src/FBX2glTF.cpp | 4 ++-- src/FBX2glTF.h | 2 +- src/fbx/Fbx2Raw.cpp | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/FBX2glTF.cpp b/src/FBX2glTF.cpp index 5cc7be9..710b313 100644 --- a/src/FBX2glTF.cpp +++ b/src/FBX2glTF.cpp @@ -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", diff --git a/src/FBX2glTF.h b/src/FBX2glTF.h index 7deeaae..d323f59 100644 --- a/src/FBX2glTF.h +++ b/src/FBX2glTF.h @@ -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. */ diff --git a/src/fbx/Fbx2Raw.cpp b/src/fbx/Fbx2Raw.cpp index 0a11d4e..3999541 100644 --- a/src/fbx/Fbx2Raw.cpp +++ b/src/fbx/Fbx2Raw.cpp @@ -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();