#ifndef ANIMATION_BLEND_TREE_EDITOR_PLUGIN_H #define ANIMATION_BLEND_TREE_EDITOR_PLUGIN_H #include "editor/editor_node.h" #include "editor/editor_plugin.h" #include "editor/plugins/animation_tree_editor_plugin.h" #include "editor/property_editor.h" #include "scene/animation/animation_blend_tree.h" #include "scene/gui/button.h" #include "scene/gui/graph_edit.h" #include "scene/gui/popup.h" #include "scene/gui/tree.h" /** @author Juan Linietsky */ class AnimationNodeBlendTreeEditor : public AnimationTreeNodeEditorPlugin { GDCLASS(AnimationNodeBlendTreeEditor, AnimationTreeNodeEditorPlugin); Ref blend_tree; GraphEdit *graph; MenuButton *add_node; PanelContainer *error_panel; Label *error_label; UndoRedo *undo_redo; AcceptDialog *filter_dialog; Tree *filters; CheckBox *filter_enabled; Map animations; Vector visible_properties; void _update_graph(); struct AddOption { String name; String type; Ref