forked from 1b-agent/opencadstudio-upstream
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:
1 parent
cd07141cde
commit
c0929b4774
1 file changed
+3
@@ -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());
|
||||
|
||||
Reference in new issue
Block a user