Clear the selection after REGION

The command left its sources selected when DELOBJ keeps them, so the
next command took them as its preselection; the reference clears the
selection after REGION.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
ramox81andClaude Opus 5.5 committed 2026-10-12 09:27:16 +03:00
1 parent cd07141cde
commit c0929b4774
1 file changed
+3
+3
View File
@@ -2307,6 +2307,9 @@ impl OpenCADStudio {
self.tabs[i].scene.erase_entities(&sources);
self.refresh_properties();
}
// The command consumes the selection, kept sources included.
self.tabs[i].scene.deselect_all();
self.refresh_properties();
self.tabs[i].dirty = true;
self.command_line
.push_output(crate::tf!("REGION: created {count} region(s).").as_ref());