diff options
Diffstat (limited to 'UVtools.Core/Operations/OperationRaftRelief.cs')
-rw-r--r-- | UVtools.Core/Operations/OperationRaftRelief.cs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/UVtools.Core/Operations/OperationRaftRelief.cs b/UVtools.Core/Operations/OperationRaftRelief.cs index 8a7c3f1..ffbfe6e 100644 --- a/UVtools.Core/Operations/OperationRaftRelief.cs +++ b/UVtools.Core/Operations/OperationRaftRelief.cs @@ -271,10 +271,7 @@ namespace UVtools.Core.Operations ApplyMask(original, result); SlicerFile[layerIndex].LayerMat = result; - lock (progress.Mutex) - { - progress++; - } + progress.LockAndIncrement(); }); |