summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-03-11 07:59:08 +0100
committerGitHub <noreply@github.com>2022-03-11 07:59:08 +0100
commitabbbcf0c323655634ff4c8e051bf6fea490f8d48 (patch)
treeaafb02bd4e1b75aa1ee920b19bc16d0c9910dc84 /editor
parentc291b482094e9cebc163c54d07baa67ffaf19f6f (diff)
parent6a1e3380f86b5231c59ba583c2d50449816f3514 (diff)
Merge pull request #59005 from timothyqiu/unused-code
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);