summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorHaoyu Qiu <timothyqiu32@gmail.com>2022-03-11 07:51:15 +0800
committerHaoyu Qiu <timothyqiu32@gmail.com>2022-03-11 07:51:15 +0800
commit6a1e3380f86b5231c59ba583c2d50449816f3514 (patch)
tree72deb15c472bed425e61236894f63743396ef49c /editor
parent7866c984798de62cbb9028f3d1eee947809e0aa9 (diff)
Remove unused code in `AnimationPlayerEditor::_update_animation_list_icons()`
Diffstat (limited to 'editor')
-rw-r--r--editor/plugins/animation_player_editor_plugin.cpp5
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);