diff options
author | Andrii Doroshenko (Xrayez) <xrayez@gmail.com> | 2020-06-24 13:08:27 +0300 |
---|---|---|
committer | Andrii Doroshenko (Xrayez) <xrayez@gmail.com> | 2020-06-24 13:08:27 +0300 |
commit | 4a86e2bb76a9efd4b0495f3c62c76a5feedb8d44 (patch) | |
tree | 2b52a8c7efaff4ab7b3a24da68e4daed1068e4f3 /editor/icons/CurveOut.svg | |
parent | ddba410ce5fdfaf736c4c91650ec84ebb609bb8f (diff) |
Optimize class icon loading
`get_global_class_name` for `GDScriptLanguage` is slow because
it forces to parse an entire script each time. This patch ensures
that the icon is actually fetched from the EditorData where they
are loaded beforehand.
This change also makes the behavior consistent with the existing
`get_object_icon` method in EditorNode.
Diffstat (limited to 'editor/icons/CurveOut.svg')
0 files changed, 0 insertions, 0 deletions