diff options
Diffstat (limited to 'UVtools.Core/FileFormats/VDTFile.cs')
-rw-r--r-- | UVtools.Core/FileFormats/VDTFile.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/UVtools.Core/FileFormats/VDTFile.cs b/UVtools.Core/FileFormats/VDTFile.cs index 5dc0e6b..42a9bfc 100644 --- a/UVtools.Core/FileFormats/VDTFile.cs +++ b/UVtools.Core/FileFormats/VDTFile.cs @@ -410,7 +410,7 @@ namespace UVtools.Core.FileFormats RebuildVDTLayers(); using var outputFile = ZipFile.Open(fileFullPath, ZipArchiveMode.Create); - outputFile.PutFileContent(FileManifestName, JsonConvert.SerializeObject(ManifestFile), ZipArchiveMode.Create); + outputFile.PutFileContent(FileManifestName, JsonConvert.SerializeObject(ManifestFile, Formatting.Indented), ZipArchiveMode.Create); if (CreatedThumbnailsCount > 0) { @@ -511,7 +511,7 @@ namespace UVtools.Core.FileFormats RebuildVDTLayers(); using var outputFile = ZipFile.Open(FileFullPath, ZipArchiveMode.Update); - outputFile.PutFileContent(FileManifestName, JsonConvert.SerializeObject(ManifestFile), ZipArchiveMode.Update); + outputFile.PutFileContent(FileManifestName, JsonConvert.SerializeObject(ManifestFile, Formatting.Indented), ZipArchiveMode.Update); //Decode(FileFullPath, progress); } |