From 6a1e3380f86b5231c59ba583c2d50449816f3514 Mon Sep 17 00:00:00 2001 From: Haoyu Qiu Date: Fri, 11 Mar 2022 07:51:15 +0800 Subject: Remove unused code in `AnimationPlayerEditor::_update_animation_list_icons()` --- editor/plugins/animation_player_editor_plugin.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'editor') diff --git a/editor/plugins/animation_player_editor_plugin.cpp b/editor/plugins/animation_player_editor_plugin.cpp index fba6d8e57f..f983492f7f 100644 --- a/editor/plugins/animation_player_editor_plugin.cpp +++ b/editor/plugins/animation_player_editor_plugin.cpp @@ -897,11 +897,6 @@ void AnimationPlayerEditor::_update_player() { } void AnimationPlayerEditor::_update_animation_list_icons() { - List 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); -- cgit v1.2.3