summaryrefslogtreecommitdiff
path: root/scene/3d/spatial_indexer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scene/3d/spatial_indexer.cpp')
-rw-r--r--scene/3d/spatial_indexer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/3d/spatial_indexer.cpp b/scene/3d/spatial_indexer.cpp
index 0cc6d1abd0..6d6c272c25 100644
--- a/scene/3d/spatial_indexer.cpp
+++ b/scene/3d/spatial_indexer.cpp
@@ -112,7 +112,7 @@ void SpatialIndexer::_update_pairs() {
void SpatialIndexer::_bind_methods() {
- ClassDB::bind_method(_MD("_update_pairs"),&SpatialIndexer::_update_pairs);
+ ClassDB::bind_method(D_METHOD("_update_pairs"),&SpatialIndexer::_update_pairs);
}