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-07 06:12:48 +0300
committerTiago Conceição <Tiago_caza@hotmail.com>2021-04-07 06:12:48 +0300
commitbdcd58f93d4f15951b68de6995e31d7d5b203e3b (patch)
treefcb80b69e53f7e814e3e49121a636a1cf96c9043 /UVtools.ScriptSample
parent47777024363a2836e3ae203d7bb6995facac23a4 (diff)
v2.8.3v2.8.3
* File formats: Sanitize and check layers on encoding/saving file, will thrown a error and prevent the save if found any * GCode Parser: Do not sanitize the lack of lift height on a file to allow read files back with no lift's on the layers * CWS: Zips containing files without numbers was interrupting the decode method on first cath (#180) * Tool - Change resolution: Only manipulate the layer image if the new resolution is different from the image resolution
Diffstat (limited to 'UVtools.ScriptSample')
-rw-r--r--UVtools.ScriptSample/ScriptInsetSample.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/UVtools.ScriptSample/ScriptInsetSample.cs b/UVtools.ScriptSample/ScriptInsetSample.cs
index 9bfdcba..015fe04 100644
--- a/UVtools.ScriptSample/ScriptInsetSample.cs
+++ b/UVtools.ScriptSample/ScriptInsetSample.cs
@@ -90,7 +90,7 @@ namespace UVtools.ScriptSample
Progress.Reset("Inset layers", Operation.LayerRangeCount); // Sets the progress name and number of items to process
// Loop user selected layers in parallel, this will put each core of CPU working here on parallel
- Parallel.For(Operation.LayerIndexStart, Operation.LayerIndexEnd, layerIndex =>
+ Parallel.For(Operation.LayerIndexStart, Operation.LayerIndexEnd+1, layerIndex =>
{
if (Progress.Token.IsCancellationRequested) return; // Abort operation, user requested cancellation