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:
Diffstat (limited to 'UVtools.Core/FileFormats/ImageFile.cs')
-rw-r--r--UVtools.Core/FileFormats/ImageFile.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/UVtools.Core/FileFormats/ImageFile.cs b/UVtools.Core/FileFormats/ImageFile.cs
index da2cec9..668e2a8 100644
--- a/UVtools.Core/FileFormats/ImageFile.cs
+++ b/UVtools.Core/FileFormats/ImageFile.cs
@@ -97,8 +97,7 @@ namespace UVtools.Core.FileFormats
{
CvInvoke.CvtColor(ImageMat, ImageMat, ColorConversion.Bgr2Gray);
}*/
-
- LayerManager = new LayerManager(1, this);
+ LayerManager.Init(1);
this[0] = new Layer(0, ImageMat, LayerManager);
}