summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDominik <dominik@chasing-carrots.com>2023-10-18 18:37:15 +0200
committerDominik <dominik@chasing-carrots.com>2023-10-18 19:04:08 +0200
commitb915e788a4262c51ca6990689432a0dba587fb0e (patch)
tree5584a11bde6a7dc382740de010822565d2c06b3b
parent7f884b4e0017368e193d96f425aac6c2d8a86eb0 (diff)
downloadredot-engine-b915e788a4262c51ca6990689432a0dba587fb0e.tar.gz
Removed navigation_mesh instantiation from constructor of NavigationPolygon
-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() {}