Merge remote-tracking branch 'origin/main' into codex/block-definition-command-line

# Conflicts:
#	src/app/commands/inquiry.rs
#	src/modules/draw/modify/block_edit.rs
This commit is contained in:
ramox81 committed 2026-10-14 17:51:56 +03:00
commit 99e30f1548
33 files changed
+1660 -199

No files matched your search

+2 -2
View File
@@ -763,7 +763,7 @@ enum BeditStep {
}
/// -BEDIT: `Enter block name or [?]:` opens the block editor on that
/// definition, creating an empty one for a new name.
/// definition, or on a new empty one for a new name.
pub struct DashBeditCommand {
step: BeditStep,
table: BlockTable,
@@ -845,7 +845,7 @@ impl CadCommand for DashBeditCommand {
return Some(CmdResult::ReportError("Invalid block name.".to_string()));
}
let name = self.table.find_user(t).unwrap_or_else(|| t.to_string());
CmdResult::Dispatch(format!("BEDIT_OPEN:{name}"))
CmdResult::Dispatch(format!("BEDIT_NEW:{name}"))
}
BeditStep::ListPattern => {
self.step = BeditStep::Name;