diff options
author | Ignacio Etcheverry <neikeq@users.noreply.github.com> | 2016-10-09 23:58:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-09 23:58:58 +0200 |
commit | fea1fb0925142c3279fd3afaf27e80e78cd2e1e8 (patch) | |
tree | 38ff88a8dc1ecf9aaba759fa626e3a09b01a7ab1 /servers | |
parent | 9012dfb8eb7276e29d567d27b49f6fea317bd83c (diff) | |
parent | 068b58b3ce3d86e4b5ebf3637fb21a70d786b00e (diff) |
Merge pull request #6761 from neikeq/pr-missing-defval
Bindings: Fix missing default value
Diffstat (limited to 'servers')
-rw-r--r-- | servers/visual_server.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/visual_server.cpp b/servers/visual_server.cpp index 5a49be67da..dfa0c91c7f 100644 --- a/servers/visual_server.cpp +++ b/servers/visual_server.cpp @@ -382,7 +382,7 @@ void VisualServer::_bind_methods() { 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_get_material"),&VisualServer::mesh_surface_get_material); |