Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sn4k3/UVtools.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'UVtools.Core/FileFormats/ChituboxZipFile.cs')
-rw-r--r--UVtools.Core/FileFormats/ChituboxZipFile.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/UVtools.Core/FileFormats/ChituboxZipFile.cs b/UVtools.Core/FileFormats/ChituboxZipFile.cs
index 7e90511..ed8a707 100644
--- a/UVtools.Core/FileFormats/ChituboxZipFile.cs
+++ b/UVtools.Core/FileFormats/ChituboxZipFile.cs
@@ -438,7 +438,7 @@ namespace UVtools.Core.FileFormats
}
}
- LayerManager = new LayerManager(HeaderSettings.LayerCount, this);
+ LayerManager.Init(HeaderSettings.LayerCount);
progress.ItemCount = LayerCount;
@@ -487,7 +487,7 @@ namespace UVtools.Core.FileFormats
}
entry = inputFile.GetEntry("preview_cropping.png");
- if (!ReferenceEquals(entry, null))
+ if (entry is not null)
{
var count = CreatedThumbnailsCount;
Thumbnails[count] = new Mat();