Merge pull request #71850 from WesleyElliott/fix-custom-node-export

This commit is contained in:
Yuri Sizov 2023-02-18 12:40:09 +03:00 committed by GitHub
commit e9c7b8d224
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
}