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
654 stars 201 forks source link

Component with default attributes deleted from the clipboard representation #486

Closed fernandojsg closed 7 years ago

fernandojsg commented 7 years ago

If an entity has a component without any parameter, or with the default parameters it won't be included on the clipboard representation, for example <a-entity geometry=""></a-entity>, <a-entity camera="active: true"></a-entity>...

Steps to reproduce:

It's also happening in https://github.com/aframevr/aframe-inspector/pull/485 as if you have a camera without any parameter it will delete the component from the clipboard representation too.

/cc @delapuente