You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Improved readability for failing error conditions
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