mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 07:17:42 -05:00
Merge pull request #105588 from smix8/navobstacle_3d_plugin
Move `NavigationObstacle3DEditorPlugin` to `navigation_3d` module
This commit is contained in:
@@ -99,7 +99,6 @@
|
||||
#include "editor/plugins/multimesh_editor_plugin.h"
|
||||
#include "editor/plugins/navigation_link_2d_editor_plugin.h"
|
||||
#include "editor/plugins/navigation_obstacle_2d_editor_plugin.h"
|
||||
#include "editor/plugins/navigation_obstacle_3d_editor_plugin.h"
|
||||
#include "editor/plugins/navigation_polygon_editor_plugin.h"
|
||||
#include "editor/plugins/node_3d_editor_gizmos.h"
|
||||
#include "editor/plugins/occluder_instance_3d_editor_plugin.h"
|
||||
@@ -234,7 +233,6 @@ void register_editor_types() {
|
||||
EditorPlugins::add_by_type<MeshInstance3DEditorPlugin>();
|
||||
EditorPlugins::add_by_type<MeshLibraryEditorPlugin>();
|
||||
EditorPlugins::add_by_type<MultiMeshEditorPlugin>();
|
||||
EditorPlugins::add_by_type<NavigationObstacle3DEditorPlugin>();
|
||||
EditorPlugins::add_by_type<OccluderInstance3DEditorPlugin>();
|
||||
EditorPlugins::add_by_type<PackedSceneEditorPlugin>();
|
||||
EditorPlugins::add_by_type<Path3DEditorPlugin>();
|
||||
|
||||
@@ -37,6 +37,7 @@
|
||||
#endif // DISABLE_DEPRECATED
|
||||
|
||||
#ifdef TOOLS_ENABLED
|
||||
#include "editor/navigation_obstacle_3d_editor_plugin.h"
|
||||
#include "editor/navigation_region_3d_editor_plugin.h"
|
||||
#endif
|
||||
|
||||
@@ -65,6 +66,7 @@ void initialize_navigation_3d_module(ModuleInitializationLevel p_level) {
|
||||
#ifdef TOOLS_ENABLED
|
||||
if (p_level == MODULE_INITIALIZATION_LEVEL_EDITOR) {
|
||||
EditorPlugins::add_by_type<NavigationRegion3DEditorPlugin>();
|
||||
EditorPlugins::add_by_type<NavigationObstacle3DEditorPlugin>();
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user