diff options
author | Yuri Sizov <11782833+YuriSizov@users.noreply.github.com> | 2023-02-18 12:40:09 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-18 12:40:09 +0300 |
commit | e9c7b8d2246bd0797af100808419c994fa43a9d2 (patch) | |
tree | 579d0ae88652c0655838a474b28d0ba1fe39e800 | |
parent | b0200c1c469f1aaac3db24e9bd30390a860bbbd9 (diff) | |
parent | d0cdaadb326dd8b27ce3abe83d95013f9d3d6b88 (diff) |
Merge pull request #71850 from WesleyElliott/fix-custom-node-export
-rw-r--r-- | editor/editor_file_system.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_file_system.cpp b/editor/editor_file_system.cpp index 8a595be6e6..b37d12e5ee 100644 --- a/editor/editor_file_system.cpp +++ b/editor/editor_file_system.cpp @@ -1560,7 +1560,7 @@ void EditorFileSystem::_update_script_classes() { ScriptServer::add_global_class(efd->files[index]->script_class_name, efd->files[index]->script_class_extends, lang, path); EditorNode::get_editor_data().script_class_set_icon_path(efd->files[index]->script_class_name, efd->files[index]->script_class_icon_path); - EditorNode::get_editor_data().script_class_set_name(efd->files[index]->file, efd->files[index]->script_class_name); + EditorNode::get_editor_data().script_class_set_name(path, efd->files[index]->script_class_name); } } |