mirror of
https://github.com/godotengine/godot.git
synced 2024-11-21 03:18:37 +08:00
Merge pull request #91103 from smix8/navregion_test_err
NavigationRegion test suppress warning about visual meshes
This commit is contained in:
commit
7b0bd873f0
@ -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