Profiler list functions from max to less expensive
Solves https://github.com/godotengine/godot/issues/25328 and partially https://github.com/godotengine/godot/issues/5682
This commit is contained in:
parent
c2f59de212
commit
d7c72dc2d1
1 changed files with 1 additions and 1 deletions
|
@ -392,7 +392,7 @@ void EditorProfiler::_update_frame() {
|
|||
category->set_custom_color(0, _get_color_from_signature(m.categories[i].signature));
|
||||
}
|
||||
|
||||
for (int j = 0; j < m.categories[i].items.size(); j++) {
|
||||
for (int j = m.categories[i].items.size() - 1; j >= 0; j--) {
|
||||
const Metric::Category::Item &it = m.categories[i].items[j];
|
||||
|
||||
TreeItem *item = variables->create_item(category);
|
||||
|
|
Loading…
Reference in a new issue