trevorsandy / lpub3d

An LDraw™ editor for LEGO® style digital building instructions.
https://trevorsandy.github.io/lpub3d/
131 stars 19 forks source link

Use default camera setting on viewer switch to camera none #676

Closed trevorsandy closed 1 year ago

trevorsandy commented 1 year ago

Subject

Use default camera setting on viewer switch to camera none.

When switching from custom camera to default camera (camera none), the default camera position is updated to the custom camera. As a consequence, when switching from a custom camera to the default camera, the camera view does not change.

Environment

Version of LPub3D - 2.4.6 Operating system - All

Expected behaviour

The default camera view should be preserved when switching to a custom camera so that when switching back to the default camera, the default camera view is restored.

Actual behaviour

When switching from a custom camera to the default camera, the camera view does not change.

Solution

Set the default camera setting when switching to the default camera (camera none) from a custom camera.

Cheers,

trevorsandy commented 1 year ago

This behaviour has been implemented.

Cheers,