summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2023-10-19 00:27:25 +0200
committerGitHub <noreply@github.com>2023-10-19 00:27:25 +0200
commitf8818f85e6c43cdf1277e8ae85eba19ca0a003b0 (patch)
tree06542819f866f6eae72e339faa1ee596d2174830
parent6761b647b2e3dbec17b4503f2a0592e5e9f92e31 (diff)
parentb915e788a4262c51ca6990689432a0dba587fb0e (diff)
downloadredot-engine-f8818f85e6c43cdf1277e8ae85eba19ca0a003b0.tar.gz
Merge pull request #83568 from mrTag/navigationregion2d_fix
Fixing "Navigation map synchronization error" when using NavigationRegion2D
-rw-r--r--scene/resources/navigation_polygon.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/scene/resources/navigation_polygon.cpp b/scene/resources/navigation_polygon.cpp
index 6c0e1343ec..52840eaa65 100644
--- a/scene/resources/navigation_polygon.cpp
+++ b/scene/resources/navigation_polygon.cpp
@@ -503,6 +503,4 @@ void NavigationPolygon::_validate_property(PropertyInfo &p_property) const {
}
}
-NavigationPolygon::NavigationPolygon() {
- navigation_mesh.instantiate();
-}
+NavigationPolygon::NavigationPolygon() {}