fix indentation broken by visual studio for no reason
This commit is contained in:
parent
47001c9ce3
commit
09fa8f9886
|
@ -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",
|
||||||
|
|
|
@ -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. */
|
||||||
|
|
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue