summaryrefslogtreecommitdiff
path: root/editor/plugins/animation_player_editor_plugin.h
diff options
context:
space:
mode:
authorTomasz Chabora <kobewi4e@gmail.com>2019-11-02 01:52:54 +0100
committerkobewi <kobewi4e@gmail.com>2022-01-04 13:39:32 +0100
commit1a091c498a9dc3d5723bfda9f833e14619e75637 (patch)
treecccc284ae9bf1179e16472a8cfcf0b2d445ca812 /editor/plugins/animation_player_editor_plugin.h
parent42312f066bd7fc5eb66abb5a2d7161717ceb3c55 (diff)
Add option to paste animation as duplicate
Diffstat (limited to 'editor/plugins/animation_player_editor_plugin.h')
-rw-r--r--editor/plugins/animation_player_editor_plugin.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/editor/plugins/animation_player_editor_plugin.h b/editor/plugins/animation_player_editor_plugin.h
index 4e7ea46c1d..626d31f439 100644
--- a/editor/plugins/animation_player_editor_plugin.h
+++ b/editor/plugins/animation_player_editor_plugin.h
@@ -60,6 +60,7 @@ class AnimationPlayerEditor : public VBoxContainer {
TOOL_REMOVE_ANIM,
TOOL_COPY_ANIM,
TOOL_PASTE_ANIM,
+ TOOL_PASTE_ANIM_REF,
TOOL_EDIT_RESOURCE
};
@@ -183,6 +184,8 @@ class AnimationPlayerEditor : public VBoxContainer {
void _animation_blend();
void _animation_edit();
void _animation_duplicate();
+ Ref<Animation> _animation_clone(const Ref<Animation> p_anim);
+ void _animation_paste(const Ref<Animation> p_anim);
void _animation_resource_edit();
void _scale_changed(const String &p_scale);
void _save_animation(String p_file);