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

Mark NavigationServer3D.region_bake_navigation_mesh() as deprecated #79137

Merged
merged 1 commit into from
Jul 12, 2023

Conversation

smix8
Copy link
Contributor

@smix8 smix8 commented Jul 7, 2023

Marks NavigationServer3D.region_bake_navigation_mesh() as deprecated.

This function is marked deprecated because it will be removed together with the NavigationMeshGenerator singleton at some point. There is no future for both as discussed multiple times in dev chat. So much wrong with this function other than the mentioned threading changes in the warnings.

It was added and exists because of init chain problems with the NavigationMeshGenerator singleton. Instead of fixing the init chain problems this dummy function was added as a "fix".

All this function ever did was reroute everything to the real functions to parse and bake navigation meshes while labeling itself as a region function without having anything to do with a region. The function does not even have a region RID parameter.

@smix8 smix8 requested review from a team as code owners July 7, 2023 00:28
@smix8 smix8 added this to the 4.2 milestone Jul 7, 2023
Marks NavigationServer3D.region_bake_navigation_mesh() as deprecated.
@smix8 smix8 force-pushed the region_bake_depr_4.x branch from 34d0627 to f7ebce2 Compare July 7, 2023 00:30
@YuriSizov YuriSizov merged commit d676246 into godotengine:master Jul 12, 2023
@YuriSizov
Copy link
Contributor

Thanks!

@smix8 smix8 deleted the region_bake_depr_4.x branch July 12, 2023 21:10
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