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

Fix 2D debug navigation flickering with tile maps #96607

Merged
merged 1 commit into from
Sep 5, 2024

Conversation

smix8
Copy link
Contributor

@smix8 smix8 commented Sep 5, 2024

Both the tile map layers and the debug navigation canvas items did fight for the same z order causing a lot of flickering in certain situations.

Before the debug rendering was changed to server use in #92372 this was kinda hidden due to node order. This change now sets the z index one less the navigation agent debug paths index so the paths can render on top of the navigation mesh debug.

Both the tile map layers and the debug navigation canvas items did fight for the same z order causing a lot of flickering in certain situations.
@smix8 smix8 added bug topic:navigation cherrypick:4.3 Considered for cherry-picking into a future 4.3.x release labels Sep 5, 2024
@smix8 smix8 added this to the 4.4 milestone Sep 5, 2024
@smix8 smix8 requested a review from a team as a code owner September 5, 2024 13:17
@smix8 smix8 requested a review from a team September 5, 2024 13:26
@akien-mga akien-mga merged commit a466519 into godotengine:master Sep 5, 2024
20 checks passed
@akien-mga
Copy link
Member

Thanks!

@smix8 smix8 deleted the navmesh_2d_disco_party branch September 5, 2024 17:23
@akien-mga
Copy link
Member

Cherry-picked for 4.3.1.

@akien-mga akien-mga removed the cherrypick:4.3 Considered for cherry-picking into a future 4.3.x release label Sep 16, 2024
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.

2 participants