diff options
Diffstat (limited to 'UVtools.Core/Operations/OperationChangeResolution.cs')
-rw-r--r-- | UVtools.Core/Operations/OperationChangeResolution.cs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/UVtools.Core/Operations/OperationChangeResolution.cs b/UVtools.Core/Operations/OperationChangeResolution.cs index 31a1883..c021753 100644 --- a/UVtools.Core/Operations/OperationChangeResolution.cs +++ b/UVtools.Core/Operations/OperationChangeResolution.cs @@ -173,10 +173,7 @@ namespace UVtools.Core.Operations //Execute(mat); SlicerFile[layerIndex].LayerMat = matDst; - lock (progress.Mutex) - { - progress++; - } + progress.LockAndIncrement(); }); progress.Token.ThrowIfCancellationRequested(); |