Browse Source

Remove unused code in `AnimationPlayerEditor::_update_animation_list_icons()`

Haoyu Qiu 3 năm trước cách đây
mục cha
commit
6a1e3380f8
1 tập tin đã thay đổi với 0 bổ sung5 xóa
  1. 0 5
      editor/plugins/animation_player_editor_plugin.cpp

+ 0 - 5
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);