jupytercad / JupyterCAD

A JupyterLab extension for collaborative 3D geometry modeling
https://jupytercad.github.io/JupyterCAD
BSD 3-Clause "New" or "Revised" License
141 stars 18 forks source link

Do not update the camera position automatically for single object scene #559

Closed martinRenou closed 3 weeks ago

martinRenou commented 3 weeks ago

This was introduced in https://github.com/jupytercad/JupyterCAD/pull/493 as I thought it would be nice to move the camera to a proper position when e.g. scaling up a single object. It turns out this can be really annoying especially when we merge the transform control PR as it makes the camera jump upon translation (see screencast)

https://github.com/user-attachments/assets/013132e8-3c0c-4f89-86a4-af00cb31de74

github-actions[bot] commented 3 weeks ago

Preview PR at appsharing.space

github-actions[bot] commented 3 weeks ago

Integration tests report: appsharing.space

arjxn-py commented 3 weeks ago

Please update snapshots