mirror of
https://github.com/godotengine/godot.git
synced 2024-11-24 21:22:48 +00:00
NavigationRegion test suppress warning
Suppresses warning about source geometry parsing from visual meshes in NavigationRegion test.
This commit is contained in:
parent
c7f56d327d
commit
61c099a41f
@ -65,7 +65,9 @@ TEST_SUITE("[Navigation]") {
|
||||
CHECK_EQ(navigation_mesh->get_vertices().size(), 0);
|
||||
|
||||
SUBCASE("Synchronous bake should have immediate effects") {
|
||||
ERR_PRINT_OFF; // Suppress warning about baking from visual meshes as source geometry.
|
||||
navigation_region->bake_navigation_mesh(false);
|
||||
ERR_PRINT_ON;
|
||||
CHECK_FALSE(navigation_region->is_baking());
|
||||
CHECK_NE(navigation_mesh->get_polygon_count(), 0);
|
||||
CHECK_NE(navigation_mesh->get_vertices().size(), 0);
|
||||
|
Loading…
Reference in New Issue
Block a user