aframevr / aframe-inspector

:mag: Visual inspector tool for A-Frame. Hit *<ctrl> + <alt> + i* on any A-Frame scene.
https://aframe.io/aframe-inspector/examples/
MIT License
655 stars 203 forks source link

Save state (selected entity, editor camera position) #184

Open fernandojsg opened 8 years ago

fernandojsg commented 8 years ago

Save the state of the editor in localStorage

fernandojsg commented 8 years ago

If we do that, we should have a reset option

Utopiah commented 7 years ago

could use something like https://utopiah.github.io/aframe-persist-component/

Utopiah commented 1 year ago

Is this still open? I remember a saving to endpoint a long time ago https://twitter.com/utopiah/status/1257656696098492419 but iirc there was also an "official" version.

vincentfretin commented 1 year ago

I'm not sure what this issue is about. If it's storing the scene in localStorage (or indexedDB) like https://threejs.org/editor/ is doing, you close the tab and open again the editor and you still have your scene, and you can select New to reset, then that's not implemented in aframe-inspector. The only thing that's implemented in aframe-inspector is using aframe-watcher to save only changes of existing entities as far as I know. Doing any new feature related to saving or export is out of scope of aframe-inspector. We could implement those in aframe-editor, currently not much new in the repo though.