Bindings: Fix missing default value

(cherry picked from commit 068b58b3ce)
This commit is contained in:
Ignacio Etcheverry 2016-10-09 23:42:03 +02:00 committed by Rémi Verschelde
parent 8cb09bf9d0
commit 55a5631986
1 changed files with 1 additions and 1 deletions

View File

@ -382,7 +382,7 @@ void VisualServer::_bind_methods() {
ObjectTypeDB::bind_method(_MD("mesh_create"),&VisualServer::mesh_create); ObjectTypeDB::bind_method(_MD("mesh_create"),&VisualServer::mesh_create);
ObjectTypeDB::bind_method(_MD("mesh_add_surface"),&VisualServer::mesh_add_surface, DEFVAL(NO_INDEX_ARRAY)); ObjectTypeDB::bind_method(_MD("mesh_add_surface"),&VisualServer::mesh_add_surface, DEFVAL(Array()), DEFVAL(false));
ObjectTypeDB::bind_method(_MD("mesh_surface_set_material"),&VisualServer::mesh_surface_set_material,DEFVAL(false)); ObjectTypeDB::bind_method(_MD("mesh_surface_set_material"),&VisualServer::mesh_surface_set_material,DEFVAL(false));
ObjectTypeDB::bind_method(_MD("mesh_surface_get_material"),&VisualServer::mesh_surface_get_material); ObjectTypeDB::bind_method(_MD("mesh_surface_get_material"),&VisualServer::mesh_surface_get_material);