Skip to content

Commit

Permalink
Merge pull request #83568 from mrTag/navigationregion2d_fix
Browse files Browse the repository at this point in the history
Fixing "Navigation map synchronization error" when using NavigationRegion2D
  • Loading branch information
akien-mga authored Oct 18, 2023
2 parents 6761b64 + b915e78 commit f8818f8
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 f8818f8

Please sign in to comment.