forked from 1b-agent/opencadstudio-upstream
block definition: locale coverage, tests for the new defaults, wraps
- block-def strings in every locale (English until translated); the catalog test requires each locale to carry them. - A new block's base point starts at 0, and ATTMAN / BATTMAN report a drawing without attributed blocks; the tests expect that now. - Lines over 100 columns wrapped. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
838e397a6c
commit
bcd52be4c7
28 files changed
+153
-36
No files matched your search
@@ -6082,7 +6082,9 @@ impl OpenCADStudio {
|
||||
crate::modules::insert::block_cmdline::defaults().wblock_mode = mode;
|
||||
self.persist_settings_if_changed();
|
||||
let source = match state.source_mode {
|
||||
WblockSourceMode::Block => WblockSource::Block(state.block_name.trim().to_string()),
|
||||
WblockSourceMode::Block => {
|
||||
WblockSource::Block(state.block_name.trim().to_string())
|
||||
}
|
||||
WblockSourceMode::EntireDrawing => WblockSource::Drawing,
|
||||
WblockSourceMode::Objects => WblockSource::Objects {
|
||||
handles: state.selected_handles.clone(),
|
||||
|
||||
Reference in new issue
Block a user