diff options
author | Tiago Conceição <Tiago_caza@hotmail.com> | 2021-08-22 06:06:08 +0300 |
---|---|---|
committer | Tiago Conceição <Tiago_caza@hotmail.com> | 2021-08-22 06:06:08 +0300 |
commit | 90a9cc3ba35a67d59282c81de87e690eab06b523 (patch) | |
tree | 626b9cdeef2294b4bf0fd498c0ce5502be0ddfae | |
parent | 926410915bef5fedd8eb69a3c0e30ee3edd8c970 (diff) |
v2.19.3v2.19.3
- (Fix) CTB: Corrupt and unprintable file when saving (#270)
-rw-r--r-- | CHANGELOG.md | 4 | ||||
-rw-r--r-- | CREDITS.md | 4 | ||||
-rw-r--r-- | UVtools.Core/FileFormats/ChituboxFile.cs | 6 | ||||
-rw-r--r-- | UVtools.Core/UVtools.Core.csproj | 2 | ||||
-rw-r--r-- | UVtools.WPF/UVtools.WPF.csproj | 2 |
5 files changed, 13 insertions, 5 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index b4acdb2..a2d6492 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 22/08/2021 - v2.19.3 + +- (Fix) CTB: Corrupt and unprintable file when saving (#270) + ## 21/08/2021 - v2.19.2 - **File Formats:** @@ -29,7 +29,6 @@ - For beta testing new features # Supporters / Contributors - - https://github.com/sponsors/sn4k3 - Ingo Strohmenger - Sven Vogt @@ -63,4 +62,5 @@ - Thomas Wilbert - Gary Kyle - Peter Csaki -- Chris Luginbuhl
\ No newline at end of file +- Chris Luginbuhl +- Tim Savage
\ No newline at end of file diff --git a/UVtools.Core/FileFormats/ChituboxFile.cs b/UVtools.Core/FileFormats/ChituboxFile.cs index 6194857..a277deb 100644 --- a/UVtools.Core/FileFormats/ChituboxFile.cs +++ b/UVtools.Core/FileFormats/ChituboxFile.cs @@ -623,7 +623,11 @@ namespace UVtools.Core.FileFormats Parent = parent; SetFrom(layer); - TableSize = parent.HeaderSettings.Version <= 2 ? TABLE_SIZE : LayerDefEx.TABLE_SIZE; + if (parent.HeaderSettings.Version >= 2) + { + TableSize += LayerDefEx.TABLE_SIZE; + } + } public void SetFrom(Layer layer) diff --git a/UVtools.Core/UVtools.Core.csproj b/UVtools.Core/UVtools.Core.csproj index 6a8d890..dc10994 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, calibration, repair, conversion and manipulation</Description> - <Version>2.19.2</Version> + <Version>2.19.3</Version> <Copyright>Copyright © 2020 PTRTECH</Copyright> <PackageIcon>UVtools.png</PackageIcon> <Platforms>AnyCPU;x64</Platforms> diff --git a/UVtools.WPF/UVtools.WPF.csproj b/UVtools.WPF/UVtools.WPF.csproj index b2014a9..549a674 100644 --- a/UVtools.WPF/UVtools.WPF.csproj +++ b/UVtools.WPF/UVtools.WPF.csproj @@ -12,7 +12,7 @@ <PackageLicenseFile>LICENSE</PackageLicenseFile> <RepositoryUrl>https://github.com/sn4k3/UVtools</RepositoryUrl> <RepositoryType>Git</RepositoryType> - <Version>2.19.2</Version> + <Version>2.19.3</Version> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'"> |