Fix animation editor's bottom panel button not being pressed on certain occasions

This commit is contained in:
Michael Alexsander Silva Dias 2019-05-24 22:47:16 -03:00
parent a1a71c05ba
commit c4f797644d
2 changed files with 18 additions and 58 deletions

View file

@ -97,8 +97,6 @@ class AnimationPlayerEditor : public VBoxContainer {
Button *play_from;
Button *play_bw;
Button *play_bw_from;
//Button *pause;
Button *autoplay;
MenuButton *tool_anim;
@ -231,7 +229,6 @@ class AnimationPlayerEditor : public VBoxContainer {
protected:
void _notification(int p_what);
void _gui_input(Ref<InputEvent> p_event);
void _node_removed(Node *p_node);
static void _bind_methods();
@ -260,6 +257,7 @@ class AnimationPlayerEditorPlugin : public EditorPlugin {
AnimationPlayerEditor *anim_editor;
EditorNode *editor;
Button *button;
protected:
void _notification(int p_what);