diff options
Diffstat (limited to 'UVtools.Core/Layer/LayerManager.cs')
-rw-r--r-- | UVtools.Core/Layer/LayerManager.cs | 4 |
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) |