Merge pull request #83568 from mrTag/navigationregion2d_fix

Fixing "Navigation map synchronization error" when using NavigationRegion2D
This commit is contained in:
Rémi Verschelde 2023-10-19 00:27:25 +02:00 committed by GitHub
commit f8818f85e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

View File

@ -503,6 +503,4 @@ void NavigationPolygon::_validate_property(PropertyInfo &p_property) const {
}
}
NavigationPolygon::NavigationPolygon() {
navigation_mesh.instantiate();
}
NavigationPolygon::NavigationPolygon() {}