You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 31642a7
Browse filesBrowse the repository at this point in the historyBrowse files
[Bugs] Expose scene data readiness separately from loading overlay (#1282)
* editor: expose scene data readiness separately from the loading overlay
The loader's readiness fallback (#1281) can take [data-scene-loading] down
while the editor's own scene load is still in flight, when the scene is
read-only and autosave is paused, so specs and hosts that waited on the
overlay had no signal for when edits are accepted.
useSceneLoader now also reports the scene data state and mirrors it on
<html data-scene-data="loading|ready|failed">, independent of the fallback;
a host isLoading does not hold it. When the fallback has taken the loader
down while data is still loading, the viewer area shows a small
non-blocking status that editing is paused.
* editor: drop scene data readiness as soon as a new onLoad arrives
The render that receives a new onLoad still carried the previous load's
flags, so data-scene-data stayed "ready" until the load effect re-rendered.
Readiness is now tied to the onLoad the graph was loaded from, and the
attribute is written in a layout effect.
---------
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
0 commit comments