diff options
Diffstat (limited to 'editor/plugins/animation_player_editor_plugin.h')
-rw-r--r-- | editor/plugins/animation_player_editor_plugin.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/editor/plugins/animation_player_editor_plugin.h b/editor/plugins/animation_player_editor_plugin.h index c780023c6d..e624522566 100644 --- a/editor/plugins/animation_player_editor_plugin.h +++ b/editor/plugins/animation_player_editor_plugin.h @@ -32,8 +32,8 @@ #define ANIMATION_PLAYER_EDITOR_PLUGIN_H #include "editor/animation_track_editor.h" -#include "editor/editor_plugin.h" #include "editor/plugins/animation_library_editor.h" +#include "editor/plugins/editor_plugin.h" #include "scene/animation/animation_player.h" #include "scene/gui/dialogs.h" #include "scene/gui/slider.h" @@ -128,7 +128,7 @@ class AnimationPlayerEditor : public VBoxContainer { } blend_editor; ConfirmationDialog *name_dialog = nullptr; - ConfirmationDialog *error_dialog = nullptr; + AcceptDialog *error_dialog = nullptr; int name_dialog_op = TOOL_NEW_ANIM; bool updating = false; @@ -206,6 +206,7 @@ class AnimationPlayerEditor : public VBoxContainer { void _current_animation_changed(const String &p_name); void _update_animation(); void _update_player(); + void _set_controls_disabled(bool p_disabled); void _update_animation_list_icons(); void _update_name_dialog_library_dropdown(); void _blend_edited(); |