forked from 1b-agent/opencadstudio-upstream
fix(web): preserve DWG render state
Carry rendering fields omitted by document serialization and normalize block origins before building web caches.
This commit is contained in:
1 parent
a1f64d7663
commit
6cafea92bc
6 files changed
+104
-6
No files matched your search
@@ -663,6 +663,7 @@ async fn load_web_bytes(
|
||||
merge_read_diagnostics(&mut outcome.stats, initial_stats);
|
||||
}
|
||||
let mut doc = outcome.document;
|
||||
normalize_block_origins(&mut doc);
|
||||
if name.to_ascii_lowercase().ends_with(".dxf") {
|
||||
fix_dxf_dimension_rotations(&mut doc);
|
||||
fix_dxf_layout_plot_settings(&mut doc);
|
||||
|
||||
Reference in new issue
Block a user