2
0
Эх сурвалжийг харах

Merge pull request #4687 from volzhs/remove-duplicated-add_frame

remove old bind for add_frame of SpriteFrames
Rémi Verschelde 9 жил өмнө
parent
commit
1137ed33aa

+ 0 - 2
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);