diff options
author | Tiago Conceição <Tiago_caza@hotmail.com> | 2021-04-07 06:12:48 +0300 |
---|---|---|
committer | Tiago Conceição <Tiago_caza@hotmail.com> | 2021-04-07 06:12:48 +0300 |
commit | bdcd58f93d4f15951b68de6995e31d7d5b203e3b (patch) | |
tree | fcb80b69e53f7e814e3e49121a636a1cf96c9043 /UVtools.ScriptSample | |
parent | 47777024363a2836e3ae203d7bb6995facac23a4 (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.cs | 2 |
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 |