1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-08 12:40:44 +00:00

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

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