summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsmix8 <52464204+smix8@users.noreply.github.com>2024-04-24 11:32:45 +0200
committersmix8 <52464204+smix8@users.noreply.github.com>2024-04-24 11:32:45 +0200
commit61c099a41ff47bbfb673edaee8e331322c5880ba (patch)
treef968611973c2ed20bdb91710a5954a0faa27c8c3
parentc7f56d327d265fa7b2541fe7c5e6cc1730661749 (diff)
downloadredot-engine-61c099a41ff47bbfb673edaee8e331322c5880ba.tar.gz
NavigationRegion test suppress warning
Suppresses warning about source geometry parsing from visual meshes in NavigationRegion test.
-rw-r--r--tests/scene/test_navigation_region_3d.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/scene/test_navigation_region_3d.h b/tests/scene/test_navigation_region_3d.h
index 0b20b3a1b2..f3d7f27361 100644
--- a/tests/scene/test_navigation_region_3d.h
+++ b/tests/scene/test_navigation_region_3d.h
@@ -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);