Merge pull request #59005 from timothyqiu/unused-code

Remove unused code in `AnimationPlayerEditor::_update_animation_list_icons()`
This commit is contained in:
Rémi Verschelde 2022-03-11 07:59:08 +01:00 committed by GitHub
commit abbbcf0c32
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -897,11 +897,6 @@ void AnimationPlayerEditor::_update_player() {
}
void AnimationPlayerEditor::_update_animation_list_icons() {
List<StringName> animlist;
if (player) {
player->get_animation_list(&animlist);
}
for (int i = 0; i < animation->get_item_count(); i++) {
String name = animation->get_item_text(i);