Add class icon cache to EditorNode

This commit is contained in:
kobewi 2025-05-27 13:59:13 +02:00
parent 6c9765d87e
commit 18df2ae9ca
4 changed files with 21 additions and 7 deletions

View file

@ -146,7 +146,7 @@ private:
HashMap<StringName, String> _script_class_icon_paths;
HashMap<String, StringName> _script_class_file_to_path;
HashMap<String, Ref<Texture>> _script_icon_cache;
HashMap<String, Ref<Texture2D>> _script_icon_cache;
Ref<Texture2D> _load_script_icon(const String &p_path) const;