mirror of
https://github.com/syoyo/tinygltf.git
synced 2026-09-18 00:04:35 +00:00
Fix prettyprint to really not print pretty
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user