From b915e788a4262c51ca6990689432a0dba587fb0e Mon Sep 17 00:00:00 2001 From: Dominik Date: Wed, 18 Oct 2023 18:37:15 +0200 Subject: [PATCH] Removed navigation_mesh instantiation from constructor of NavigationPolygon --- scene/resources/navigation_polygon.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/scene/resources/navigation_polygon.cpp b/scene/resources/navigation_polygon.cpp index 6c0e1343ecd3..52840eaa6572 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() {}