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:
authorTiago Conceição <Tiago_caza@hotmail.com>2021-04-04 19:28:09 +0300
committerTiago Conceição <Tiago_caza@hotmail.com>2021-04-04 19:28:09 +0300
commit824805a190f3023f3c42d19d50c41f18a83c751d (patch)
tree4cb3abfe894a18f1072e6a09c0d11d4b00f5744f /UVtools.ScriptSample
parentc06d7642906bb46c453da1a8b7c039cf555bf1c3 (diff)
Update ScriptChangeLayerPropertiesSample.cs
Diffstat (limited to 'UVtools.ScriptSample')
-rw-r--r--UVtools.ScriptSample/ScriptChangeLayerPropertiesSample.cs2
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