google / model-viewer

Easily display interactive 3D models on the web and in AR!
https://modelviewer.dev
Apache License 2.0
6.69k stars 798 forks source link

use of "auto" in /editor/ output creates wrong orbit distance #4695

Open HawkenKing opened 4 months ago

HawkenKing commented 4 months ago

Description

When adding limits or resetting framing, max-camera-orbit orbit distance gets set to "auto". This appears to not share the same setting as camera-orbit distance.

https://modelviewer.dev/editor/

In the resulting code output, I have to change "auto" to the same setting camera-orbit distance (in "m") to get stable orbit distance output.

In /editor/ there is no manual way to set camera-orbit distance.