Merge pull request #73511 from dsnopek/gdextension-object-name

Add GDExtension function to get Object class name
This commit is contained in:
Rémi Verschelde
2023-05-22 14:02:59 +02:00
5 changed files with 43 additions and 1 deletions
+1 -1
View File
@@ -1739,7 +1739,7 @@ void *Object::get_instance_binding(void *p_token, const GDExtensionInstanceBindi
break;
}
}
if (unlikely(!binding)) {
if (unlikely(!binding && p_callbacks)) {
uint32_t current_size = next_power_of_2(_instance_binding_count);
uint32_t new_size = next_power_of_2(_instance_binding_count + 1);