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 2026-08-11 17:16:46 +03:00
commit 6cafea92bc
6 changed files with 104 additions and 6 deletions

View file

@ -1,7 +1,7 @@
import init, { parse_document, sha256_document } from "./worker_pkg/ocs_web_worker.js?v=3";
import init, { parse_document, sha256_document } from "./worker_pkg/ocs_web_worker.js?v=4";
const ready = init(
new URL("./worker_pkg/ocs_web_worker_bg.wasm?v=3", import.meta.url),
new URL("./worker_pkg/ocs_web_worker_bg.wasm?v=4", import.meta.url),
);
self.onmessage = async ({ data }) => {