diff options
Diffstat (limited to 'UVtools.Core/Operations/OperationSolidify.cs')
-rw-r--r-- | UVtools.Core/Operations/OperationSolidify.cs | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/UVtools.Core/Operations/OperationSolidify.cs b/UVtools.Core/Operations/OperationSolidify.cs index 566cc5b..9a97e1b 100644 --- a/UVtools.Core/Operations/OperationSolidify.cs +++ b/UVtools.Core/Operations/OperationSolidify.cs @@ -68,7 +68,7 @@ namespace UVtools.Core.Operations public override string ToString() { - var result = $"[Area: ={_areaCheckType} than {_minimumArea}px²]" + LayerRangeString; + var result = $"[Area: {_areaCheckType} than {_minimumArea}px²]" + LayerRangeString; if (!string.IsNullOrEmpty(ProfileName)) result = $"{ProfileName}: {result}"; return result; } @@ -93,10 +93,7 @@ namespace UVtools.Core.Operations using var mat = SlicerFile[layerIndex].LayerMat; Execute(mat); SlicerFile[layerIndex].LayerMat = mat; - lock (progress.Mutex) - { - progress++; - } + progress.LockAndIncrement(); }); return !progress.Token.IsCancellationRequested; |