diff options
Diffstat (limited to 'UVtools.Core/FileFormats/ZCodexFile.cs')
-rw-r--r-- | UVtools.Core/FileFormats/ZCodexFile.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/UVtools.Core/FileFormats/ZCodexFile.cs b/UVtools.Core/FileFormats/ZCodexFile.cs index 16cdcd7..e0137a4 100644 --- a/UVtools.Core/FileFormats/ZCodexFile.cs +++ b/UVtools.Core/FileFormats/ZCodexFile.cs @@ -485,7 +485,7 @@ namespace UVtools.Core.FileFormats throw new FileLoadException("ResinGCodeData not found", fileFullPath); } - LayerManager = new LayerManager(ResinMetadataSettings.TotalLayersCount, this); + LayerManager.Init(ResinMetadataSettings.TotalLayersCount); GCode.Clear(); using (TextReader tr = new StreamReader(entry.Open())) { |