diff options
| author | Haoyu Qiu <timothyqiu32@gmail.com> | 2022-03-11 07:51:15 +0800 |
|---|---|---|
| committer | Haoyu Qiu <timothyqiu32@gmail.com> | 2022-03-11 07:51:15 +0800 |
| commit | 6a1e3380f86b5231c59ba583c2d50449816f3514 (patch) | |
| tree | 72deb15c472bed425e61236894f63743396ef49c | |
| parent | 7866c984798de62cbb9028f3d1eee947809e0aa9 (diff) | |
Remove unused code in `AnimationPlayerEditor::_update_animation_list_icons()`
| -rw-r--r-- | editor/plugins/animation_player_editor_plugin.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
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<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); |