mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Fix Unable to use ResourceLoader in C# after threaded load in GDScript #92798
This commit is contained in:
@@ -2310,4 +2310,11 @@ void ClassDB::cleanup() {
|
||||
native_structs.clear();
|
||||
}
|
||||
|
||||
// Array to use in optional parameters on methods and the DEFVAL_ARRAY macro.
|
||||
Array ClassDB::default_array_arg = Array::create_read_only();
|
||||
|
||||
bool ClassDB::is_default_array_arg(const Array &p_array) {
|
||||
return p_array.is_same_instance(default_array_arg);
|
||||
}
|
||||
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user