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

Selecting an obj changes its rotation #546

Closed siddisking closed 5 years ago

siddisking commented 6 years ago

Hi,

Aframe Inspector is changing the default rotation when selecting the object very first time.

If I have a plane rotation set to <a-plane rotation="-90 0 0"> and I select it in the inspector it puts the value in radians in the right menu which rotates the plane.

However same behavior does not happen if an object is selected first with having 0 0 0 as rotation values.

I have replicated this issue at fiddle .

Follow these steps to reproduce this:

Open inspector select plane first.

-Thanks

ngokevin commented 5 years ago

I believe fixed now.