diff options
Diffstat (limited to 'UVtools.Core/Managers/MatCacheManager.cs')
-rw-r--r-- | UVtools.Core/Managers/MatCacheManager.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/UVtools.Core/Managers/MatCacheManager.cs b/UVtools.Core/Managers/MatCacheManager.cs index 2934c3f..9ffef33 100644 --- a/UVtools.Core/Managers/MatCacheManager.cs +++ b/UVtools.Core/Managers/MatCacheManager.cs @@ -170,12 +170,12 @@ public class MatCacheManager : IDisposable if (Flip != FlipDirection.None) { - CvInvoke.Flip(MatCache[currentCacheIndex][0], MatCache[currentCacheIndex][0], Enumerations.ToOpenCVFlipType(Flip)); + CvInvoke.Flip(MatCache[currentCacheIndex][0], MatCache[currentCacheIndex][0], (FlipType)Flip); } if (Rotate != RotateDirection.None) { - CvInvoke.Rotate(MatCache[currentCacheIndex][0], MatCache[currentCacheIndex][0], Enumerations.ToOpenCVRotateFlags(Rotate)); + CvInvoke.Rotate(MatCache[currentCacheIndex][0], MatCache[currentCacheIndex][0], (RotateFlags) Rotate); } if (StripAntiAliasing) |