Skip to content

Commit

Permalink
v0.3.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
sn4k3 committed May 21, 2020
1 parent 9922609 commit 1759fb0
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 8 deletions.
8 changes: 6 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 21/05/2020 - v0.3.3.1 - Beta

* (Fix) Unable to convert Chitubox or PHZ files when enconter repeated layer images

## 19/05/2020 - v0.3.3 - Beta

* (Add) PHZ file format
Expand All @@ -8,8 +12,8 @@
* (Add) Convert Chitubox and PHZ files to ZCodex
* (Add) Elapsed seconds to convertion and extract dialog
* (Improvement) "Convert To" menu now only show available formats to convert to, if none menu is disabled
* (Fixed) Enforce cbt encryption
* (Fixed) Not implemented convertions stay processing forever
* (Fix) Enforce cbt encryption
* (Fix) Not implemented convertions stay processing forever


## 11/05/2020 - v0.3.2 - Beta
Expand Down
2 changes: 1 addition & 1 deletion PrusaSL1Reader/ChituboxFile.cs
Original file line number Diff line number Diff line change
Expand Up @@ -743,7 +743,7 @@ void rleRGB15()

currentOffset += Helpers.SerializeWriteFileStream(outputFile, layer);

if (!ReferenceEquals(layerHash, null)) return;
if (!ReferenceEquals(layerHash, null)) continue;

outputFile.Seek(layerDataCurrentOffset, SeekOrigin.Begin);
layerDataCurrentOffset += Helpers.WriteFileStream(outputFile, byteArr);
Expand Down
3 changes: 2 additions & 1 deletion PrusaSL1Reader/PHZFile.cs
Original file line number Diff line number Diff line change
Expand Up @@ -506,6 +506,7 @@ public override void Encode(string fileFullPath)
base.Encode(fileFullPath);
LayersHash.Clear();


uint currentOffset = (uint)Helpers.Serializer.SizeOf(HeaderSettings);
LayersDefinitions = new Layer[HeaderSettings.LayerCount, HeaderSettings.AntiAliasLevel];
using (var outputFile = new FileStream(fileFullPath, FileMode.Create, FileAccess.Write))
Expand Down Expand Up @@ -653,7 +654,7 @@ void rleRGB15()

currentOffset += Helpers.SerializeWriteFileStream(outputFile, layer);

if (!ReferenceEquals(layerHash, null)) return;
if (!ReferenceEquals(layerHash, null)) continue;

outputFile.Seek(layerDataCurrentOffset, SeekOrigin.Begin);
layerDataCurrentOffset += Helpers.WriteFileStream(outputFile, byteArr);
Expand Down
4 changes: 2 additions & 2 deletions PrusaSL1Reader/PrusaSL1Reader.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
<PackageProjectUrl>https://github.com/sn4k3/PrusaSL1Viewer</PackageProjectUrl>
<PackageIcon></PackageIcon>
<RepositoryUrl>https://github.com/sn4k3/PrusaSL1Viewer</RepositoryUrl>
<AssemblyVersion>0.3.3.0</AssemblyVersion>
<AssemblyVersion>0.3.3.1</AssemblyVersion>
<FileVersion>0.3.3.0</FileVersion>
<Version>0.3.3</Version>
<Version>0.3.3.1</Version>
<Description>Open, view, edit, extract and convert DLP/SLA files generated from Slicers</Description>
</PropertyGroup>

Expand Down
4 changes: 2 additions & 2 deletions PrusaSL1Viewer/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// 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.3.3.0")]
[assembly: AssemblyFileVersion("0.3.3.0")]
[assembly: AssemblyVersion("0.3.3.1")]
[assembly: AssemblyFileVersion("0.3.3.1")]

0 comments on commit 1759fb0

Please sign in to comment.