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:
Hakan Seven committed 2026-08-11 17:16:46 +03:00
1 parent a1f64d7663
commit 6cafea92bc
6 files changed
+104 -6

No files matched your search

+1
View File
@@ -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);