summaryrefslogtreecommitdiff
path: root/modules/gridmap
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-07-13 15:31:38 +0200
committerGitHub <noreply@github.com>2021-07-13 15:31:38 +0200
commit8747f2565392f4d4be5cc6c8658f6443763ea618 (patch)
treec6db822e48e87d4179d2e231d81e0b505d1488db /modules/gridmap
parentb44b277f6f2f22124c47d63551591056791474c0 (diff)
parent5ad4f26659b435add8c4d36009be6a2222a0a624 (diff)
Merge pull request #50381 from reduz/implement-disable-classes
Implement the ability to disable classes
Diffstat (limited to 'modules/gridmap')
-rw-r--r--modules/gridmap/register_types.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gridmap/register_types.cpp b/modules/gridmap/register_types.cpp
index 5680664213..85739d202e 100644
--- a/modules/gridmap/register_types.cpp
+++ b/modules/gridmap/register_types.cpp
@@ -37,7 +37,7 @@
void register_gridmap_types() {
#ifndef _3D_DISABLED
- ClassDB::register_class<GridMap>();
+ GDREGISTER_CLASS(GridMap);
#ifdef TOOLS_ENABLED
EditorPlugins::add_by_type<GridMapEditorPlugin>();
#endif