diff options
author | Tiago Conceição <Tiago_caza@hotmail.com> | 2021-04-04 19:28:09 +0300 |
---|---|---|
committer | Tiago Conceição <Tiago_caza@hotmail.com> | 2021-04-04 19:28:09 +0300 |
commit | 824805a190f3023f3c42d19d50c41f18a83c751d (patch) | |
tree | 4cb3abfe894a18f1072e6a09c0d11d4b00f5744f /UVtools.ScriptSample | |
parent | c06d7642906bb46c453da1a8b7c039cf555bf1c3 (diff) |
Update ScriptChangeLayerPropertiesSample.cs
Diffstat (limited to 'UVtools.ScriptSample')
-rw-r--r-- | UVtools.ScriptSample/ScriptChangeLayerPropertiesSample.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/UVtools.ScriptSample/ScriptChangeLayerPropertiesSample.cs b/UVtools.ScriptSample/ScriptChangeLayerPropertiesSample.cs index e945fbb..e0286fa 100644 --- a/UVtools.ScriptSample/ScriptChangeLayerPropertiesSample.cs +++ b/UVtools.ScriptSample/ScriptChangeLayerPropertiesSample.cs @@ -46,7 +46,7 @@ namespace UVtools.ScriptSample Random random = new(); - for (uint layerIndex = Operation.LayerIndexStart; layerIndex < Operation.LayerIndexEnd; layerIndex++) + for (uint layerIndex = Operation.LayerIndexStart; layerIndex <= Operation.LayerIndexEnd; layerIndex++) { Progress.Token.ThrowIfCancellationRequested(); // Abort operation, user requested cancellation var layer = SlicerFile[layerIndex]; // Unpack and expose layer variable for easier use |