forked from 1b-agent/opencadstudio-upstream
Add graphic attributes controls and layer creation
This commit is contained in:
1 parent
85e2dda6ba
commit
3b74c7e7ea
9 files changed
+586
-52
No files matched your search
@@ -3,6 +3,10 @@ use super::*;
|
||||
impl OpenCADStudio {
|
||||
pub(super) fn dispatch_layers(&mut self, cmd: &str, i: usize) -> Option<Task<Message>> {
|
||||
match cmd {
|
||||
cmd if cmd.starts_with("GRAPHICATTRIBUTELAYER ") => {
|
||||
let name = cmd.trim_start_matches("GRAPHICATTRIBUTELAYER").trim();
|
||||
return Some(self.create_graphic_attributes_layer(name));
|
||||
}
|
||||
// ── Layer object commands ──────────────────────────────────────
|
||||
"LAYOFF" => {
|
||||
let handles: Vec<_> = self.tabs[i]
|
||||
|
||||
Reference in new issue
Block a user