diff options
author | Tiago Conceição <Tiago_caza@hotmail.com> | 2020-11-01 08:48:25 +0300 |
---|---|---|
committer | Tiago Conceição <Tiago_caza@hotmail.com> | 2020-11-01 08:48:25 +0300 |
commit | 15094f96cc42a39f40a1f8182bb0bf6716b32db2 (patch) | |
tree | 2d4abd0abf20661b835bdd61859025ca7853007f /UVtools.Core/FileFormats/PhotonSFile.cs | |
parent | 679f088811756a10d55deaa15ab69cbf534d8b87 (diff) |
v1.1.1v1.1.1
* (Fix) PHZ, PWS, LGS, SL1 and ZCodex per layer settings and implement missing properties on decode
* (Fix) LGS and PHZ Zip wasn't setting the position z per layer
* (Fix) Add missing ctb v3 per layer settings on edit parameters window
* (Fix) PWS per layer settings internal LiftSpeed was calculating in mm/min, changed to mm/sec
Diffstat (limited to 'UVtools.Core/FileFormats/PhotonSFile.cs')
-rw-r--r-- | UVtools.Core/FileFormats/PhotonSFile.cs | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/UVtools.Core/FileFormats/PhotonSFile.cs b/UVtools.Core/FileFormats/PhotonSFile.cs index 6964522..4243edb 100644 --- a/UVtools.Core/FileFormats/PhotonSFile.cs +++ b/UVtools.Core/FileFormats/PhotonSFile.cs @@ -512,7 +512,15 @@ namespace UVtools.Core.FileFormats using (var image = layerData[layerIndex].Decode()) { - this[layerIndex] = new Layer((uint) layerIndex, image); + this[layerIndex] = new Layer((uint) layerIndex, image) + { + PositionZ = GetHeightFromLayer((uint)layerIndex), + ExposureTime = GetInitialLayerValueOrNormal((uint)layerIndex, BottomExposureTime, ExposureTime), + LiftHeight = GetInitialLayerValueOrNormal((uint)layerIndex, BottomLiftHeight, LiftHeight), + LiftSpeed = GetInitialLayerValueOrNormal((uint)layerIndex, BottomLiftSpeed, LiftSpeed), + RetractSpeed = RetractSpeed, + LightPWM = GetInitialLayerValueOrNormal((uint)layerIndex, BottomLightPWM, LightPWM), + }; lock (progress.Mutex) { |