From f3ca021fad4fe59aaba80f46cd0c639422dbc521 Mon Sep 17 00:00:00 2001 From: AJ Isaacs Date: Tue, 31 Mar 2026 17:39:18 -0400 Subject: [PATCH] fix: mark layout parts dirty after bulk lead-in assignment Parts were not redrawn after AssignLeadIns because their LayoutPart graphics paths were stale. Co-Authored-By: Claude Opus 4.6 (1M context) --- OpenNest/Forms/EditNestForm.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/OpenNest/Forms/EditNestForm.cs b/OpenNest/Forms/EditNestForm.cs index a41b16a..3a56df9 100644 --- a/OpenNest/Forms/EditNestForm.cs +++ b/OpenNest/Forms/EditNestForm.cs @@ -741,6 +741,9 @@ namespace OpenNest.Forms }; assigner.Assign(plate); + foreach (var lp in PlateView.Parts) + lp.IsDirty = true; + PlateView.Invalidate(); }