summaryrefslogtreecommitdiff
path: root/scene/3d/multimesh_instance.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scene/3d/multimesh_instance.cpp')
-rw-r--r--scene/3d/multimesh_instance.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/3d/multimesh_instance.cpp b/scene/3d/multimesh_instance.cpp
index 4c79fb6c0a..e1acdfca53 100644
--- a/scene/3d/multimesh_instance.cpp
+++ b/scene/3d/multimesh_instance.cpp
@@ -34,8 +34,8 @@
void MultiMeshInstance::_bind_methods() {
- ClassDB::bind_method(_MD("set_multimesh","multimesh"),&MultiMeshInstance::set_multimesh);
- ClassDB::bind_method(_MD("get_multimesh"),&MultiMeshInstance::get_multimesh);
+ ClassDB::bind_method(D_METHOD("set_multimesh","multimesh"),&MultiMeshInstance::set_multimesh);
+ ClassDB::bind_method(D_METHOD("get_multimesh"),&MultiMeshInstance::get_multimesh);
ADD_PROPERTY( PropertyInfo(Variant::OBJECT,"multimesh",PROPERTY_HINT_RESOURCE_TYPE,"MultiMesh"), "set_multimesh", "get_multimesh");