NavigationRegion test suppress warning

Suppresses warning about source geometry parsing from visual meshes in NavigationRegion test.
This commit is contained in:
smix8 2024-04-24 11:32:45 +02:00
parent c7f56d327d
commit 61c099a41f
1 changed files with 2 additions and 0 deletions

View File

@ -65,7 +65,9 @@ TEST_SUITE("[Navigation]") {
CHECK_EQ(navigation_mesh->get_vertices().size(), 0); CHECK_EQ(navigation_mesh->get_vertices().size(), 0);
SUBCASE("Synchronous bake should have immediate effects") { 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); navigation_region->bake_navigation_mesh(false);
ERR_PRINT_ON;
CHECK_FALSE(navigation_region->is_baking()); CHECK_FALSE(navigation_region->is_baking());
CHECK_NE(navigation_mesh->get_polygon_count(), 0); CHECK_NE(navigation_mesh->get_polygon_count(), 0);
CHECK_NE(navigation_mesh->get_vertices().size(), 0); CHECK_NE(navigation_mesh->get_vertices().size(), 0);