diff options
Diffstat (limited to 'UVtools.Core/Operations/OperationLayerExportImage.cs')
-rw-r--r-- | UVtools.Core/Operations/OperationLayerExportImage.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/UVtools.Core/Operations/OperationLayerExportImage.cs b/UVtools.Core/Operations/OperationLayerExportImage.cs index 5fbc7ca..b8787a8 100644 --- a/UVtools.Core/Operations/OperationLayerExportImage.cs +++ b/UVtools.Core/Operations/OperationLayerExportImage.cs @@ -191,12 +191,12 @@ public sealed class OperationLayerExportImage : Operation if (_flipDirection != FlipDirection.None) { - CvInvoke.Flip(matRoi, matRoi, Enumerations.ToOpenCVFlipType(_flipDirection)); + CvInvoke.Flip(matRoi, matRoi, (FlipType)_flipDirection); } if (_rotateDirection != RotateDirection.None) { - CvInvoke.Rotate(matRoi, matRoi, Enumerations.ToOpenCVRotateFlags(_rotateDirection)); + CvInvoke.Rotate(matRoi, matRoi, (RotateFlags)_rotateDirection); } var filename = SlicerFile[layerIndex].FormatFileName(_filename, _padLayerIndex ? SlicerFile.LayerDigits : byte.MinValue, IndexStartNumber.Zero, string.Empty); |