-
-
Notifications
You must be signed in to change notification settings - Fork 4k
Bug fix in Gizmo grid #19697
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
base: main
Are you sure you want to change the base?
Bug fix in Gizmo grid #19697
Conversation
What's the best way to add tests for this @mockersf ? I remember talk of you having automated testing based on running examples but I failed to find the docs for this. Also: how does anyone feel about changing the |
You could add to https://github.com/bevyengine/bevy/blob/main/examples/testbed/2d.rs
It feels pretty ambiguous to me, and either interpretation could be plausibly correct. I also can't think of better names, but I do think that perhaps the docs could potentially be improved with language like "parallel to the x axis" instead of "along the x axis." |
Aha! Thanks, that's what I was failing to find. I don't have strong opinions on the names - I could just clarify the docs. I considered |
Your PR caused a change in the graphical output of an example or rendering test. This might be intentional, but it could also mean that something broke! If it's expected, please add the M-Deliberate-Rendering-Change label. If this change seems unrelated to your PR, you can consider updating your PR to target the latest main branch, either by rebasing or merging main into it. |
1 similar comment
Your PR caused a change in the graphical output of an example or rendering test. This might be intentional, but it could also mean that something broke! If it's expected, please add the M-Deliberate-Rendering-Change label. If this change seems unrelated to your PR, you can consider updating your PR to target the latest main branch, either by rebasing or merging main into it. |
The CI failure is in bevy_ecs, which this PR doesn't touch. Edit: another merge of master fixes that issue and breaks even more unrelated crates! Hopefully if I just keep merging master then CI will be green eventually... Edit2: hurrah! Now green. |
Objective
Fix #19480
Solution
Fix calculation of line counts in each direction
Testing
Added grids to the gizmos screen of testbed/example_3d