Fix AnimationTree crash & rename get_tree() to get_animation_tree()
This commit is contained in:
@ -69,12 +69,13 @@ class AnimationTreeEditor : public VBoxContainer {
|
||||
|
||||
protected:
|
||||
void _notification(int p_what);
|
||||
void _node_removed(Node *p_node);
|
||||
static void _bind_methods();
|
||||
|
||||
static AnimationTreeEditor *singleton;
|
||||
|
||||
public:
|
||||
AnimationTree *get_tree() { return tree; }
|
||||
AnimationTree *get_animation_tree() { return tree; }
|
||||
void add_plugin(AnimationTreeNodeEditorPlugin *p_editor);
|
||||
void remove_plugin(AnimationTreeNodeEditorPlugin *p_editor);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user