Skip to content

Commit

Permalink
NavigationRegion test suppress warning
Browse files Browse the repository at this point in the history
Suppresses warning about source geometry parsing from visual meshes in NavigationRegion test.
  • Loading branch information
smix8 committed Apr 24, 2024
1 parent c7f56d3 commit 61c099a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/scene/test_navigation_region_3d.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 61c099a

Please sign in to comment.