forked from 1b-agent/opencadstudio-upstream
fix(wblock): exported drawings carry their block definitions and styles
WBLOCK copied only the entities and their layers, so INSERTs pointed at missing blocks and the file opened almost empty or needed recovery. It now goes through the cross-drawing paste kernels, which bring layers, linetypes, styles, block definitions and baked dimension blocks along. Fixes #1111 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
805979ea36
commit
c8c2238d4a
3 files changed
+37
-54
No files matched your search
@@ -94,7 +94,9 @@ mod text_edit;
|
||||
mod constraint;
|
||||
mod dim_edit;
|
||||
|
||||
pub(crate) use clipboard::{copy_to_clipboard_kernel, remap_ext_subtree_reference};
|
||||
pub(crate) use clipboard::{
|
||||
copy_to_clipboard_kernel, paste_entities_kernel, remap_ext_subtree_reference,
|
||||
};
|
||||
|
||||
impl OpenCADStudio {
|
||||
/// Applies one command result, then — when that result ended the active
|
||||
|
||||
Reference in new issue
Block a user