diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2024-09-03 11:43:00 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-09-03 11:43:00 +0200 |
commit | 56330801475dd96cc681ba504274b7072d1bf7ce (patch) | |
tree | 955d565448b9f25aa50477ad60032a93c5dde397 /scene/resources/sprite_frames.h | |
parent | 667778cf4de35d5e1f00f59eef804928cf4b639c (diff) | |
parent | 57bc1d75746e4e59961b963460024a40bc03ffa8 (diff) | |
download | redot-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.h | 1 |
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); |