diff options
author | Tiago Conceição <Tiago_caza@hotmail.com> | 2020-07-15 00:21:11 +0300 |
---|---|---|
committer | Tiago Conceição <Tiago_caza@hotmail.com> | 2020-07-15 00:21:11 +0300 |
commit | fc83672a760334ba128abbba3c8f20b2942adefe (patch) | |
tree | 5ceb482e150a37734ab1d00a886eca0387e929ab | |
parent | bfdecd498240893e436298fe56d6b02f43174790 (diff) |
v0.6.2.2v0.6.2.2
* (Add) cbddlp, photon and ctb version 3 compability (Chitubox >= 1.6.5)
-rw-r--r-- | CHANGELOG.md | 4 | ||||
-rw-r--r-- | UVtools.Core/FileFormats/ChituboxFile.cs | 6 | ||||
-rw-r--r-- | UVtools.Core/UVtools.Core.csproj | 2 | ||||
-rw-r--r-- | UVtools.GUI/Properties/AssemblyInfo.cs | 4 |
4 files changed, 9 insertions, 7 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index b73ef95..a950ed7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 14/07/2020 - v0.6.2.2 + +* (Add) cbddlp, photon and ctb version 3 compability (Chitubox >= 1.6.5) + ## 14/07/2020 - v0.6.2.1 * (Fix) Mutator: Erode was doing pixel dimming diff --git a/UVtools.Core/FileFormats/ChituboxFile.cs b/UVtools.Core/FileFormats/ChituboxFile.cs index 7bb6cde..682dc9e 100644 --- a/UVtools.Core/FileFormats/ChituboxFile.cs +++ b/UVtools.Core/FileFormats/ChituboxFile.cs @@ -1060,7 +1060,7 @@ namespace UVtools.Core.FileFormats } - if (HeaderSettings.Version == 2) + if (HeaderSettings.Version >= 2) { HeaderSettings.PrintParametersOffsetAddress = currentOffset; @@ -1196,8 +1196,6 @@ namespace UVtools.Core.FileFormats progress++; } - //if (HeaderSettings.Version == 2) - //{ if (HeaderSettings.PrintParametersOffsetAddress > 0) { inputFile.Seek(HeaderSettings.PrintParametersOffsetAddress, SeekOrigin.Begin); @@ -1417,7 +1415,7 @@ namespace UVtools.Core.FileFormats outputFile.Seek(0, SeekOrigin.Begin); Helpers.SerializeWriteFileStream(outputFile, HeaderSettings); - if (HeaderSettings.Version == 2 && HeaderSettings.PrintParametersOffsetAddress > 0) + if (HeaderSettings.Version >= 2 && HeaderSettings.PrintParametersOffsetAddress > 0) { outputFile.Seek(HeaderSettings.PrintParametersOffsetAddress, SeekOrigin.Begin); Helpers.SerializeWriteFileStream(outputFile, PrintParametersSettings); diff --git a/UVtools.Core/UVtools.Core.csproj b/UVtools.Core/UVtools.Core.csproj index f63e99f..b08c03a 100644 --- a/UVtools.Core/UVtools.Core.csproj +++ b/UVtools.Core/UVtools.Core.csproj @@ -10,7 +10,7 @@ <RepositoryUrl>https://github.com/sn4k3/UVtools</RepositoryUrl> <PackageProjectUrl>https://github.com/sn4k3/UVtools</PackageProjectUrl> <Description>MSLA/DLP, file analysis, repair, conversion and manipulation</Description> - <Version>0.6.2.1</Version> + <Version>0.6.2.2</Version> <Copyright>Copyright © 2020 PTRTECH</Copyright> <PackageIcon>UVtools.png</PackageIcon> <Platforms>AnyCPU;x64</Platforms> diff --git a/UVtools.GUI/Properties/AssemblyInfo.cs b/UVtools.GUI/Properties/AssemblyInfo.cs index 12369f2..b3f0298 100644 --- a/UVtools.GUI/Properties/AssemblyInfo.cs +++ b/UVtools.GUI/Properties/AssemblyInfo.cs @@ -35,5 +35,5 @@ using System.Runtime.InteropServices; // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("0.6.2.1")] -[assembly: AssemblyFileVersion("0.6.2.1")] +[assembly: AssemblyVersion("0.6.2.2")] +[assembly: AssemblyFileVersion("0.6.2.2")] |