Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sn4k3/UVtools.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'UVtools.Core/Layer/LayerManager.cs')
-rw-r--r--UVtools.Core/Layer/LayerManager.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/UVtools.Core/Layer/LayerManager.cs b/UVtools.Core/Layer/LayerManager.cs
index 2abd13e..ef9f907 100644
--- a/UVtools.Core/Layer/LayerManager.cs
+++ b/UVtools.Core/Layer/LayerManager.cs
@@ -57,7 +57,7 @@ namespace UVtools.Core
SlicerFile.RequireFullEncode = true;
SlicerFile.PrintHeight = SlicerFile.PrintHeight;
- SlicerFile.PrintTime = SlicerFile.PrintTimeComputed;
+ SlicerFile.UpdatePrintTime();
if (value is not null && LayerCount > 0)
{
@@ -522,7 +522,7 @@ namespace UVtools.Core
if(zeroLightOffDelay) layer.LightOffDelay = 0;
}
SlicerFile?.RebuildGCode();
- SlicerFile.PrintTime = SlicerFile.PrintTimeComputed;
+ SlicerFile?.UpdatePrintTime();
}
public Rectangle GetBoundingRectangle(OperationProgress progress = null)