From 0458ac4b8191f514766d3e894ae563002a58ecfa Mon Sep 17 00:00:00 2001 From: kobewi Date: Sun, 25 Jun 2023 15:03:59 +0200 Subject: [PATCH] Improve script icon cache --- editor/editor_data.cpp | 25 ++++++++++++++++++++++++- editor/editor_node.cpp | 18 +----------------- 2 files changed, 25 insertions(+), 18 deletions(-) diff --git a/editor/editor_data.cpp b/editor/editor_data.cpp index 0a05186bf753..be7376a5c497 100644 --- a/editor/editor_data.cpp +++ b/editor/editor_data.cpp @@ -1114,7 +1114,9 @@ Ref EditorData::_load_script_icon(const String &p_path) const { Ref EditorData::get_script_icon(const Ref