Merge pull request #75656 from YuriSizov/core-iconic-builtins
Add a script method to get its class icon
This commit is contained in:
commit
91c5273ec5
13 changed files with 52 additions and 12 deletions
|
|
@ -3352,7 +3352,7 @@ void EditorNode::_remove_edited_scene(bool p_change_tab) {
|
|||
|
||||
void EditorNode::_remove_scene(int index, bool p_change_tab) {
|
||||
// Clear icon cache in case some scripts are no longer needed.
|
||||
// FIXME: Perfectly the cache should never be cleared and only updated on per-script basis, when an icon changes.
|
||||
// FIXME: Ideally the cache should never be cleared and only updated on per-script basis, when an icon changes.
|
||||
editor_data.clear_script_icon_cache();
|
||||
|
||||
if (editor_data.get_edited_scene() == index) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue