diff options
Diffstat (limited to 'UVtools.Core/Operations/OperationDynamicLifts.cs')
-rw-r--r-- | UVtools.Core/Operations/OperationDynamicLifts.cs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/UVtools.Core/Operations/OperationDynamicLifts.cs b/UVtools.Core/Operations/OperationDynamicLifts.cs index 37d8253..4eed766 100644 --- a/UVtools.Core/Operations/OperationDynamicLifts.cs +++ b/UVtools.Core/Operations/OperationDynamicLifts.cs @@ -329,8 +329,8 @@ namespace UVtools.Core.Operations liftSpeed = (_maxLiftSpeed - (_maxLiftSpeed * layer.NonZeroPixelCount / maxNormalPixels)).Clamp(_minLiftSpeed, _maxLiftSpeed); } - layer.LiftHeight = (float) Math.Round(liftHeight, 2); - layer.LiftSpeed = (float) Math.Round(liftSpeed, 2); + layer.LiftHeight = (float) Math.Round(liftHeight, 1); + layer.LiftSpeed = (float) Math.Round(liftSpeed, 1); switch (_lightOffDelaySetMode) { @@ -351,8 +351,6 @@ namespace UVtools.Core.Operations progress++; } - SlicerFile.UpdatePrintTime(); - return !progress.Token.IsCancellationRequested; } |