You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-15 13:51:40 +00:00
Merge pull request #52367 from Duroxxigar/improve-nav-error-messages
Improve readability for failing errors in nav area
This commit is contained in:
@@ -489,7 +489,7 @@ NavigationMeshGenerator::~NavigationMeshGenerator() {
|
||||
}
|
||||
|
||||
void NavigationMeshGenerator::bake(Ref<NavigationMesh> p_nav_mesh, Node *p_node) {
|
||||
ERR_FAIL_COND(!p_nav_mesh.is_valid());
|
||||
ERR_FAIL_COND_MSG(!p_nav_mesh.is_valid(), "Invalid navigation mesh.");
|
||||
|
||||
#ifdef TOOLS_ENABLED
|
||||
EditorProgress *ep(nullptr);
|
||||
|
||||
Reference in New Issue
Block a user