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 Navigation Debug always enabled #63708

Merged

Conversation

smix8
Copy link
Contributor

@smix8 smix8 commented Jul 31, 2022

Fixes that the new Navigation Debug is always enabled in Godot debug builds.
Should only get enabled inside Editor or when "Visible Navigation" is turned on for test runs.

Fixes that Navigation Debug is always enabled in debug builds even while "Visible Navigation" is turned off.
Copy link
Member

@lawnjelly lawnjelly left a comment

Choose a reason for hiding this comment

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

Just to make clear, this is a gotcha, confusingly DEBUG_ENABLED is set for the editor even in release builds. The Godot equivalent to a debug build is DEV_ENABLED, which is set in debug but not release_debug.

@akien-mga akien-mga added this to the 4.0 milestone Jul 31, 2022
@akien-mga akien-mga merged commit 14445c9 into godotengine:master Jul 31, 2022
@akien-mga
Copy link
Member

Thanks!

@smix8 smix8 deleted the navigation_fix_debug_always_on_4.x branch July 31, 2022 09:15
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.

3 participants