diff options
Diffstat (limited to 'UVtools.Core/FileFormats/CWSFile.cs')
-rw-r--r-- | UVtools.Core/FileFormats/CWSFile.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/UVtools.Core/FileFormats/CWSFile.cs b/UVtools.Core/FileFormats/CWSFile.cs index f8863bb..3f6e1d7 100644 --- a/UVtools.Core/FileFormats/CWSFile.cs +++ b/UVtools.Core/FileFormats/CWSFile.cs @@ -790,7 +790,7 @@ namespace UVtools.Core.FileFormats layerIndexStr = $"{layerStr[i]}{layerIndexStr}"; } - if (string.IsNullOrEmpty(layerIndexStr)) return; + if (string.IsNullOrEmpty(layerIndexStr)) continue; if (!uint.TryParse(layerIndexStr, out var layerIndex)) continue; using var stream = pngEntry.Open(); this[layerIndex] = new Layer(layerIndex, stream, LayerManager); |