diff options
Diffstat (limited to 'UVtools.Core/FileFormats/ZCodexFile.cs')
-rw-r--r-- | UVtools.Core/FileFormats/ZCodexFile.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/UVtools.Core/FileFormats/ZCodexFile.cs b/UVtools.Core/FileFormats/ZCodexFile.cs index 35eec6d..c6c0ba9 100644 --- a/UVtools.Core/FileFormats/ZCodexFile.cs +++ b/UVtools.Core/FileFormats/ZCodexFile.cs @@ -206,10 +206,10 @@ namespace UVtools.Core.FileFormats { set { - UserSettings.MaxLayer = LayerCount - 1; + UserSettings.MaxLayer = LastLayerIndex; ResinMetadataSettings.TotalLayersCount = LayerCount; - RebuildGCode(); RaisePropertyChanged(); + RaisePropertyChanged(nameof(NormalLayerCount)); } } |