diff options
Diffstat (limited to 'UVtools.Core/FileFormats/ImageFile.cs')
-rw-r--r-- | UVtools.Core/FileFormats/ImageFile.cs | 3 |
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); } |