summaryrefslogtreecommitdiffstats
path: root/scene/resources/sprite_frames.h
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2024-09-03 11:43:00 +0200
committerRémi Verschelde <rverschelde@gmail.com>2024-09-03 11:43:00 +0200
commit56330801475dd96cc681ba504274b7072d1bf7ce (patch)
tree955d565448b9f25aa50477ad60032a93c5dde397 /scene/resources/sprite_frames.h
parent667778cf4de35d5e1f00f59eef804928cf4b639c (diff)
parent57bc1d75746e4e59961b963460024a40bc03ffa8 (diff)
downloadredot-engine-56330801475dd96cc681ba504274b7072d1bf7ce.tar.gz
Merge pull request #93624 from EAinsley/complete#3942
Add duplicate animation for SpriteFrames
Diffstat (limited to 'scene/resources/sprite_frames.h')
-rw-r--r--scene/resources/sprite_frames.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/resources/sprite_frames.h b/scene/resources/sprite_frames.h
index 0e0bb28d71..8d5b4232cf 100644
--- a/scene/resources/sprite_frames.h
+++ b/scene/resources/sprite_frames.h
@@ -60,6 +60,7 @@ protected:
public:
void add_animation(const StringName &p_anim);
bool has_animation(const StringName &p_anim) const;
+ void duplicate_animation(const StringName &p_from, const StringName &p_to);
void remove_animation(const StringName &p_anim);
void rename_animation(const StringName &p_prev, const StringName &p_next);