diff options
Diffstat (limited to 'UVtools.Core/Operations/OperationMove.cs')
-rw-r--r-- | UVtools.Core/Operations/OperationMove.cs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/UVtools.Core/Operations/OperationMove.cs b/UVtools.Core/Operations/OperationMove.cs index 27ed2c2..b2cbacf 100644 --- a/UVtools.Core/Operations/OperationMove.cs +++ b/UVtools.Core/Operations/OperationMove.cs @@ -287,10 +287,7 @@ namespace UVtools.Core.Operations SlicerFile[layerIndex].LayerMat = mat; } - lock (progress.Mutex) - { - progress++; - } + progress.LockAndIncrement(); }); SlicerFile.LayerManager.BoundingRectangle = Rectangle.Empty; |