mirror of
https://git.mirrors.martin98.com/https://github.com/syoyo/tinygltf.git
synced 2025-04-22 22:20:01 +08:00
Fix prettyprint to really not print pretty
This commit is contained in:
parent
d80f0f9a6c
commit
27aab61d62
@ -4815,7 +4815,7 @@ bool TinyGLTF::WriteGltfSceneToFile(Model *model, const std::string &filename,
|
||||
if (writeBinary) {
|
||||
WriteBinaryGltfFile(filename, output.dump());
|
||||
} else {
|
||||
WriteGltfFile(filename, output.dump(prettyPrint ? 2 : 0));
|
||||
WriteGltfFile(filename, output.dump(prettyPrint ? 2 : -1));
|
||||
}
|
||||
|
||||
return true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user