perf(fill): avoid redundant bounds recomputation

This commit is contained in:
aj
2026-09-25 21:45:03 -04:00
parent 4ec92c95ec
commit 4553f8afad
10 changed files with 483 additions and 12 deletions
+1
View File
@@ -206,6 +206,7 @@ namespace OpenNest
/// </summary>
public void UpdateBounds()
{
PerfCounters.CountPartBoundsUpdate();
BoundingBox = Program.BoundingBox();
BoundingBox.Offset(Location);
}