mirror of
https://github.com/brunopostle/ifcurl.git
synced 2026-07-12 02:08:13 +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> |
||
|---|---|---|
| .. | ||
| public/assets | ||