瀏覽代碼

register_editor_types: Fix `DISABLE_DEPREACTED` typo

Issue #106093 contained a typo, not properly guarding
`SkeletonIK3DEditorPlugin`
Mike Owens 4 月之前
父節點
當前提交
88a425fd26
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      editor/register_editor_types.cpp

+ 1 - 1
editor/register_editor_types.cpp

@@ -254,7 +254,7 @@ void register_editor_types() {
 	EditorPlugins::add_by_type<ThemeEditorPlugin>();
 	EditorPlugins::add_by_type<ThemeEditorPlugin>();
 	EditorPlugins::add_by_type<ToolButtonEditorPlugin>();
 	EditorPlugins::add_by_type<ToolButtonEditorPlugin>();
 	EditorPlugins::add_by_type<VoxelGIEditorPlugin>();
 	EditorPlugins::add_by_type<VoxelGIEditorPlugin>();
-#ifndef DISABLE_DEPREACTED
+#ifndef DISABLE_DEPRECATED
 	EditorPlugins::add_by_type<SkeletonIK3DEditorPlugin>();
 	EditorPlugins::add_by_type<SkeletonIK3DEditorPlugin>();
 #endif
 #endif