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:
Hakan SevenandClaude Opus 5.5 committed 2026-10-15 00:16:35 +03:00
1 parent 838e397a6c
commit bcd52be4c7
28 files changed
+153 -36

No files matched your search

+2 -2
View File
@@ -204,8 +204,8 @@ impl OpenCADStudio {
self.push_undo_snapshot(i, "ATTSYNC");
let mut changes = Vec::new();
for handle in inserts {
let Some(codec::EntityType::Insert(ins)) = self.tabs[i].scene.document.get_entity(handle)
else {
let document = &self.tabs[i].scene.document;
let Some(codec::EntityType::Insert(ins)) = document.get_entity(handle) else {
continue;
};
let transform = crate::scene::render_graph::insert_transform_with_base(ins, base);