- **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:
Tiago Conceição
2022-01-27 03:53:15 +00:00
parent 98458b2be8
commit 041db7f72d
29 changed files with 983 additions and 48 deletions
@@ -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);
}
}