#include "animation_blend_tree_editor_plugin.h" #include "core/io/resource_loader.h" #include "core/project_settings.h" #include "os/input.h" #include "os/keyboard.h" #include "scene/animation/animation_player.h" #include "scene/gui/menu_button.h" #include "scene/gui/panel.h" #include "scene/main/viewport.h" void AnimationNodeBlendTreeEditor::edit(AnimationNodeBlendTree *p_blend_tree) { blend_tree = p_blend_tree; if (!blend_tree) { hide(); } else { _update_graph(); } } void AnimationNodeBlendTreeEditor::add_custom_type(const String &p_name, const Ref