diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp index 9243fd192..642122b6f 100644 --- a/editor/editor_node.cpp +++ b/editor/editor_node.cpp @@ -128,7 +128,6 @@ #include "editor/plugins/navigation_polygon_editor_plugin.h" #include "editor/plugins/path_2d_editor_plugin.h" #include "editor/plugins/path_editor_plugin.h" -#include "editor/plugins/physical_bone_plugin.h" #include "editor/plugins/polygon_2d_editor_plugin.h" #include "editor/plugins/ray_cast_2d_editor_plugin.h" #include "editor/plugins/resource_preloader_editor_plugin.h" @@ -137,7 +136,6 @@ #include "editor/plugins/script_editor_plugin.h" #include "editor/plugins/script_text_editor.h" #include "editor/plugins/shader_editor_plugin.h" -#include "editor/plugins/skeleton_ik_editor_plugin.h" #include "editor/plugins/spatial_editor_plugin.h" #include "editor/plugins/sprite_editor_plugin.h" #include "editor/plugins/sprite_frames_editor_plugin.h" @@ -6823,8 +6821,6 @@ EditorNode::EditorNode() { add_editor_plugin(memnew(TextureEditorPlugin(this))); add_editor_plugin(memnew(AudioStreamEditorPlugin(this))); add_editor_plugin(memnew(AudioBusesEditorPlugin(audio_bus_editor))); - add_editor_plugin(memnew(SkeletonIKEditorPlugin(this))); - add_editor_plugin(memnew(PhysicalBonePlugin(this))); add_editor_plugin(memnew(MeshEditorPlugin(this))); add_editor_plugin(memnew(MaterialEditorPlugin(this))); add_editor_plugin(memnew(ViewportPreviewEditorPlugin(this))); diff --git a/editor/plugins/animation_blend_tree_editor_plugin.cpp b/editor/plugins/animation_blend_tree_editor_plugin.cpp index 23fa660b9..3b71b1ca2 100644 --- a/editor/plugins/animation_blend_tree_editor_plugin.cpp +++ b/editor/plugins/animation_blend_tree_editor_plugin.cpp @@ -30,25 +30,24 @@ #include "animation_blend_tree_editor_plugin.h" -#include "core/variant/array.h" -#include "core/object/class_db.h" -#include "core/math/color.h" -#include "core/error/error_macros.h" #include "core/containers/hash_map.h" -#include "core/io/resource_loader.h" #include "core/containers/list.h" -#include "core/string/node_path.h" -#include "core/os/memory.h" #include "core/containers/set.h" -#include "core/typedefs.h" +#include "core/error/error_macros.h" +#include "core/io/resource_loader.h" +#include "core/math/color.h" +#include "core/object/class_db.h" #include "core/object/undo_redo.h" +#include "core/os/memory.h" +#include "core/string/node_path.h" +#include "core/typedefs.h" +#include "core/variant/array.h" #include "editor/editor_file_dialog.h" #include "editor/editor_inspector.h" #include "editor/editor_node.h" #include "editor/editor_scale.h" #include "editor/editor_settings.h" #include "scene/2d/canvas_item.h" -#include "scene/3d/skeleton.h" #include "scene/animation/animation_blend_tree.h" #include "scene/animation/animation_player.h" #include "scene/gui/box_container.h" @@ -70,6 +69,12 @@ #include "scene/resources/animation.h" #include "scene/resources/style_box.h" +#include "modules/modules_enabled.gen.h" + +#ifdef MODULE_SKELETON_3D_ENABLED +#include "modules/skeleton_3d/nodes/skeleton.h" +#endif + void AnimationNodeBlendTreeEditor::add_custom_type(const String &p_name, const Ref