You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Implement AnimationManager the base class of AnimationPlayer/Tree
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
|
||||
#include "editor/animation_track_editor.h"
|
||||
#include "editor/editor_plugin.h"
|
||||
#include "scene/animation/animation_player.h"
|
||||
#include "scene/animation/animation_mixer.h"
|
||||
#include "scene/gui/dialogs.h"
|
||||
#include "scene/gui/tree.h"
|
||||
|
||||
@@ -90,7 +90,7 @@ class AnimationLibraryEditor : public AcceptDialog {
|
||||
|
||||
Tree *tree = nullptr;
|
||||
|
||||
Object *player = nullptr;
|
||||
Object *mixer = nullptr;
|
||||
|
||||
void _add_library();
|
||||
void _add_library_validate(const String &p_name);
|
||||
@@ -106,11 +106,11 @@ class AnimationLibraryEditor : public AcceptDialog {
|
||||
bool updating = false;
|
||||
|
||||
protected:
|
||||
void _update_editor(Object *p_player);
|
||||
void _update_editor(Object *p_mixer);
|
||||
static void _bind_methods();
|
||||
|
||||
public:
|
||||
void set_animation_player(Object *p_player);
|
||||
void set_animation_mixer(Object *p_mixer);
|
||||
void show_dialog();
|
||||
void update_tree();
|
||||
AnimationLibraryEditor();
|
||||
|
||||
Reference in New Issue
Block a user