Skip to content

Commit

Permalink
Removed navigation_mesh instantiation from constructor of NavigationP…
Browse files Browse the repository at this point in the history
…olygon
  • Loading branch information
mrTag committed Oct 18, 2023
1 parent 7f884b4 commit b915e78
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions scene/resources/navigation_polygon.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -503,6 +503,4 @@ void NavigationPolygon::_validate_property(PropertyInfo &p_property) const {
}
}

NavigationPolygon::NavigationPolygon() {
navigation_mesh.instantiate();
}
NavigationPolygon::NavigationPolygon() {}

0 comments on commit b915e78

Please sign in to comment.