mirror of
https://git.mirrors.martin98.com/https://github.com/syoyo/tinygltf.git
synced 2025-04-23 06:29:54 +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) {
|
if (writeBinary) {
|
||||||
WriteBinaryGltfFile(filename, output.dump());
|
WriteBinaryGltfFile(filename, output.dump());
|
||||||
} else {
|
} else {
|
||||||
WriteGltfFile(filename, output.dump(prettyPrint ? 2 : 0));
|
WriteGltfFile(filename, output.dump(prettyPrint ? 2 : -1));
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user