forked from 1b-agent/opencadstudio-upstream
Merge pull request #1718 from ramox81/codex/region-clears-selection
This commit is contained in:
commit
3006d93ee5
1 file changed
+3
@@ -2307,6 +2307,9 @@ impl OpenCADStudio {
|
|||||||
self.tabs[i].scene.erase_entities(&sources);
|
self.tabs[i].scene.erase_entities(&sources);
|
||||||
self.refresh_properties();
|
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.tabs[i].dirty = true;
|
||||||
self.command_line
|
self.command_line
|
||||||
.push_output(crate::tf!("REGION: created {count} region(s).").as_ref());
|
.push_output(crate::tf!("REGION: created {count} region(s).").as_ref());
|
||||||
|
|||||||
Reference in new issue
Block a user