summaryrefslogtreecommitdiff
path: root/scene
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2016-05-17 15:51:44 +0200
committerRémi Verschelde <remi@verschelde.fr>2016-05-17 15:51:44 +0200
commit1137ed33aacf3b6459c6b58541923f27f6aae1f1 (patch)
tree7aa5cc57f49eafb6b694da9166d9fea8facbc6a8 /scene
parentb58e261d41ba534584f2efc22240624a304b9d1f (diff)
parentd6ccea541d029c503818381133a05a29031bd850 (diff)
Merge pull request #4687 from volzhs/remove-duplicated-add_frame
remove old bind for add_frame of SpriteFrames
Diffstat (limited to 'scene')
-rw-r--r--scene/2d/animated_sprite.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/scene/2d/animated_sprite.cpp b/scene/2d/animated_sprite.cpp
index f482f775c4..1d2f912784 100644
--- a/scene/2d/animated_sprite.cpp
+++ b/scene/2d/animated_sprite.cpp
@@ -233,8 +233,6 @@ void SpriteFrames::_bind_methods() {
ObjectTypeDB::bind_method(_MD("set_animation_loop","anim","loop"),&SpriteFrames::set_animation_loop);
ObjectTypeDB::bind_method(_MD("get_animation_loop","anim"),&SpriteFrames::get_animation_loop);
- ObjectTypeDB::bind_method(_MD("add_frame","frame","atpos"),&SpriteFrames::add_frame,DEFVAL(-1));
-
ObjectTypeDB::bind_method(_MD("add_frame","anim","frame","atpos"),&SpriteFrames::add_frame,DEFVAL(-1));
ObjectTypeDB::bind_method(_MD("get_frame_count","anim"),&SpriteFrames::get_frame_count);
ObjectTypeDB::bind_method(_MD("get_frame","anim","idx"),&SpriteFrames::get_frame);