mirror of
https://github.com/riegera2412/UVtools.git
synced 2026-07-11 11:02:32 +02:00
v3.12.0
- (Add) Allow to pause and resume operations (#654) - (Add) `Layer.FirstTransitionLayer` - (Add) `Layer.LastTransitionLayer` - (Add) File format: Elegoo GOO - (Add) PrusaSlicer Printer: Elegoo Mars 4 - (Improvement) Allocate maximum GPU memory for Skia up to 256 MB - (Improvement) Set and sanitize transition layers exposure time from last bottom layer and first normal layer instead of global times (#659) - (Change) CXDLP: Default version from 2 to 3 - (Fix) UI was not rendering with GPU (ANGLE) - (Fix) `Layer.IsTransitionLayer` was returning the wrong value - (Upgrade) .NET from 6.0.13 to 6.0.14
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
using Emgu.CV;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Drawing;
|
||||
using System.Threading.Tasks;
|
||||
using UVtools.Core;
|
||||
@@ -45,6 +46,7 @@ public class ScriptCompensateCrossBleeding : ScriptGlobals
|
||||
CoreSettings.GetParallelOptions(Progress),
|
||||
layerIndex =>
|
||||
{
|
||||
Progress.PauseIfRequested();
|
||||
var layersBelowCount = layerIndex > LayerBleed.Value ? LayerBleed.Value : layerIndex;
|
||||
|
||||
using var sourceMat = originalLayers[layerIndex].LayerMat;
|
||||
|
||||
Reference in New Issue
Block a user