mirror of
https://github.com/riegera2412/UVtools.git
synced 2026-07-09 01:52:32 +02:00
v2.27.7
- **Pixel Arithmetic:** - (Add) Corrode: Number of passes - (Change) Corrode: Noise area default from 3px² to 1px² - (Change) Fuzzy skin preset: Wall thickness from 6px to 4px - (Change) Fuzzy skin preset: Max noise offset: 64 - (Add) Core: More helper functions: Area, Volume, LastBottomLayer, BottomLayersHeight, SetNoDelays, SetWaitTimeBeforeCureOrLightOffDelay - (Change) Display the current layer volume instead of area - (Fix) Having a first empty layer will miscalculate the model rectangle bounds - (Fix) Tool - Calculator - Model tilt: Change formula to use arctan instead of tanh - (Upgrade) OpenCV from 4.5.4 to 4.5.5 - (Upgrade) AvaloniaUI from 0.10.11 to 0.10.12 (#378)
This commit is contained in:
@@ -14,8 +14,7 @@ namespace UVtools.Core.Extensions
|
||||
{
|
||||
public static Point Center(this Rectangle src)
|
||||
{
|
||||
return new Point(src.X + src.Width / 2,
|
||||
src.Y + src.Height / 2);
|
||||
return new Point(src.Right / 2, src.Bottom / 2);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user