You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Change ClassDB::get_class_list and related stuff.
This commit is contained in:
@@ -1649,9 +1649,9 @@ void EditorFileSystem::_thread_func_sources(void *_userdata) {
|
||||
}
|
||||
|
||||
bool EditorFileSystem::_remove_invalid_global_class_names(const HashSet<String> &p_existing_class_names) {
|
||||
List<StringName> global_classes;
|
||||
LocalVector<StringName> global_classes;
|
||||
bool must_save = false;
|
||||
ScriptServer::get_global_class_list(&global_classes);
|
||||
ScriptServer::get_global_class_list(global_classes);
|
||||
for (const StringName &class_name : global_classes) {
|
||||
if (!p_existing_class_names.has(class_name)) {
|
||||
ScriptServer::remove_global_class(class_name);
|
||||
|
||||
Reference in New Issue
Block a user