Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow top and bottom view by default #4916

Merged
merged 3 commits into from
Oct 23, 2024
Merged

allow top and bottom view by default #4916

merged 3 commits into from
Oct 23, 2024

Conversation

elalish
Copy link
Collaborator

@elalish elalish commented Oct 23, 2024

As this updates our defaults, it is technically a breaking change, though very minor. Our default camera limits used to not allow a pure top or bottom view - they had to be manually extended to get the full 0-180 range of camera elevation. Now that is our default, but you can always set them back to how they were if you desire the legacy behavior.

@@ -627,7 +627,7 @@
"htmlName": "minCameraOrbit",
"description": "Set the minimum orbital values of the camera. Note \"Infinity\" is not an accepted keyword, but the default can still be obtained by passing \"auto\". The radius value for \"auto\" is a conservative value to ensure the camera never enters the model, so be careful when setting this to another value.",
"default": {
"default": "-Infinity 22.5deg auto",
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are the legacy defaults, if anyone needs the old behavior.

@elalish elalish merged commit e7e1865 into master Oct 23, 2024
5 checks passed
@elalish elalish deleted the updateDefaultLimits branch October 23, 2024 20:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant