remove old bind for add_frame of SpriteFrames

it causes ``ERROR: Method already bound: SpriteFrames::add_frame``
This commit is contained in:
volzhs 2016-05-17 22:48:36 +09:00
parent b58e261d41
commit d6ccea541d

View file

@ -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);