mirror of
https://github.com/riegera2412/UVtools.git
synced 2026-07-11 11:02:32 +02:00
v2.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
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user