Exposed create_from_mesh in Navmesh

(cherry picked from commit deaf095dcf)
This commit is contained in:
TwistedTwigleg 2017-08-13 14:13:48 -04:00 committed by Rémi Verschelde
parent a6805f37d3
commit 34263fd39f

View file

@ -208,6 +208,8 @@ void NavigationMesh::_bind_methods() {
ObjectTypeDB::bind_method(_MD("get_polygon", "idx"), &NavigationMesh::get_polygon);
ObjectTypeDB::bind_method(_MD("clear_polygons"), &NavigationMesh::clear_polygons);
ObjectTypeDB::bind_method(_MD("create_from_mesh", "mesh"), &NavigationMesh::create_from_mesh);
ObjectTypeDB::bind_method(_MD("_set_polygons", "polygons"), &NavigationMesh::_set_polygons);
ObjectTypeDB::bind_method(_MD("_get_polygons"), &NavigationMesh::_get_polygons);