diff options
| author | Rémi Verschelde <rverschelde@gmail.com> | 2019-12-05 06:49:43 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-12-05 06:49:43 +0100 |
| commit | 99b81aa1b972f55bc8afd18154a468eea9cbb9fc (patch) | |
| tree | 4bf15d591c8aea3eff1c278edea5acecf6614763 /servers | |
| parent | 36164168b5525bae3aead5d00063c6a7770bafd7 (diff) | |
| parent | f7f7544997128ed1b01398adf84225fdcfb3e3db (diff) | |
| download | redot-engine-99b81aa1b972f55bc8afd18154a468eea9cbb9fc.tar.gz | |
Merge pull request #34039 from Eoin-ONeill-Yokai/multimeshfix
Added Missing Binding for `multimesh_create` to VisualServer
Diffstat (limited to 'servers')
| -rw-r--r-- | servers/visual_server.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/servers/visual_server.cpp b/servers/visual_server.cpp index ce83b6d4ec..2c1d28e32c 100644 --- a/servers/visual_server.cpp +++ b/servers/visual_server.cpp @@ -1717,6 +1717,7 @@ void VisualServer::_bind_methods() { ClassDB::bind_method(D_METHOD("mesh_get_custom_aabb", "mesh"), &VisualServer::mesh_get_custom_aabb); ClassDB::bind_method(D_METHOD("mesh_clear", "mesh"), &VisualServer::mesh_clear); + ClassDB::bind_method(D_METHOD("multimesh_create"), &VisualServer::multimesh_create); ClassDB::bind_method(D_METHOD("multimesh_allocate", "multimesh", "instances", "transform_format", "color_format", "custom_data_format"), &VisualServer::multimesh_allocate, DEFVAL(MULTIMESH_CUSTOM_DATA_NONE)); ClassDB::bind_method(D_METHOD("multimesh_get_instance_count", "multimesh"), &VisualServer::multimesh_get_instance_count); ClassDB::bind_method(D_METHOD("multimesh_set_mesh", "multimesh", "mesh"), &VisualServer::multimesh_set_mesh); |
