mirror of
				https://github.com/godotengine/godot.git
				synced 2025-11-03 23:21:15 +00:00 
			
		
		
		
	Improved readability for failing error conditions
This commit is contained in:
		
							parent
							
								
									c39d31899a
								
							
						
					
					
						commit
						54d305eebe
					
				
					 4 changed files with 6 additions and 6 deletions
				
			
		| 
						 | 
				
			
			@ -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);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue