Fix Unable to use ResourceLoader in C# after threaded load in GDScript #92798
This commit is contained in:
parent
27552a2f26
commit
27d1fb63e1
6 changed files with 36 additions and 7 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
//
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue