mirror of
https://github.com/brunopostle/ifcurl.git
synced 2026-07-12 10:18:14 +00:00
When the ifc:// URL is edited and Enter pressed, capture toRawUrl() of the loaded model at load time. On any subsequent loadUrl() call, compare against that snapshot: if the raw file URL is unchanged, call the new applyViewChanges() function in-place instead of navigating to a new page. applyViewChanges() diffs old vs new URL query params and applies only what changed: camera position (with cameraControls.update(0) flush before render), FOV/scale, clipping planes, selector/visibility, and query. A full page reload now only happens when host, repo, ref, or path changes. Fixes ifcurl-ntm. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| fragments-worker.js | ||
| ifcurl.js | ||
| viewer-deps.js | ||
| viewer-url.js | ||
| viewer-util.js | ||
| viewer.html | ||
| viewer.js | ||
| web-ifc-mt.wasm | ||
| web-ifc.wasm | ||