summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-01-05 12:55:02 +0100
committerRémi Verschelde <rverschelde@gmail.com>2023-01-05 12:55:02 +0100
commit60b028971db2e1954faccefb5fba45751830bc6c (patch)
treeb01500ba93a6a80d93abd611780804348a3da515
parentf571129f9e444d6d66a23ef76cbda1e253bab481 (diff)
parent3e0e315e743515271b4cf7ae8c196cda0b9eb0c5 (diff)
downloadredot-engine-60b028971db2e1954faccefb5fba45751830bc6c.tar.gz
Merge pull request #70824 from smix8/fix_navpoly_errormsg_4.x
Fix NavigationPolygon error msg
-rw-r--r--scene/resources/navigation_polygon.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/resources/navigation_polygon.cpp b/scene/resources/navigation_polygon.cpp
index 04077e95a7..273fbdf03c 100644
--- a/scene/resources/navigation_polygon.cpp
+++ b/scene/resources/navigation_polygon.cpp
@@ -295,7 +295,7 @@ void NavigationPolygon::make_polygons_from_outlines() {
if (tpart.ConvexPartition_HM(&in_poly, &out_poly) == 0) { //failed!
ERR_PRINT("NavigationPolygon: Convex partition failed! Failed to convert outlines to a valid NavigationMesh."
"\nNavigationPolygon outlines can not overlap vertices or edges inside same outline or with other outlines or have any intersections."
- "\nAdd the outmost and largest outline first. To add holes inside this outline add the smaller outlines with opposite winding order.");
+ "\nAdd the outmost and largest outline first. To add holes inside this outline add the smaller outlines with same winding order.");
return;
}