aframevr/aframe-inspector

Don't export empty position/rotation/scale/visible

vincentfretin opened this issue · 0 comments

The position/rotation/scale/visible components are special, those don't store data, they just set things on object3D.
It's a bit silly to have visible="" exported (when you use copy entity to clipboard) if you toggled twice the visibility of the entity.
Same for position="" rotation="" scale="" it exports empty string when the value is the default value.