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

don't allow bounding scale for marker to be too large #644

Merged
merged 1 commit into from
Jan 22, 2025

Conversation

neph1
Copy link
Contributor

@neph1 neph1 commented Dec 30, 2024

Not sure what has happened here, must be a regression of some sort.
I noticed when creating a skybox (during) that it threw an error. This also occurs when selecting a node which contains a skybox.

The cause is that the skybox has an infinite bound (naturally), this is propagated to the node, which tries to set the tool marker scale to be the same as the bounds of the node. This throws an assert error about inifite scale.

I've limited the scale to 100, and it will set it to 1 if it exceeds that. This is arbitrary.

@neph1 neph1 changed the title don't allow bounding scale to be too large don't allow bounding scale for marker to be too large Dec 30, 2024
@neph1 neph1 merged commit eaf2e3d into jMonkeyEngine:master Jan 22, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant