`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.
Name |
Last commit
|
Last update |
---|---|---|
.github | Loading commit data... | |
core | Loading commit data... | |
doc | Loading commit data... | |
drivers | Loading commit data... | |
editor | Loading commit data... | |
main | Loading commit data... | |
misc | Loading commit data... | |
modules | Loading commit data... | |
platform | Loading commit data... | |
scene | Loading commit data... | |
servers | Loading commit data... | |
thirdparty | Loading commit data... | |
.appveyor.yml | Loading commit data... | |
.clang-format | Loading commit data... | |
.clang-tidy | Loading commit data... | |
.editorconfig | Loading commit data... | |
.gitattributes | Loading commit data... | |
.gitignore | Loading commit data... | |
.mailmap | Loading commit data... | |
.travis.yml | Loading commit data... | |
AUTHORS.md | Loading commit data... | |
CHANGELOG.md | Loading commit data... | |
CODE_OF_CONDUCT.md | Loading commit data... | |
CONTRIBUTING.md | Loading commit data... | |
COPYRIGHT.txt | Loading commit data... | |
DONORS.md | Loading commit data... | |
LICENSE.txt | Loading commit data... | |
LOGO_LICENSE.md | Loading commit data... | |
README.md | Loading commit data... | |
SConstruct | Loading commit data... | |
gles_builders.py | Loading commit data... | |
icon.png | Loading commit data... | |
icon.svg | Loading commit data... | |
logo.png | Loading commit data... | |
logo.svg | Loading commit data... | |
methods.py | Loading commit data... | |
platform_methods.py | Loading commit data... | |
version.py | Loading commit data... |