diff --git a/core/object/object.cpp b/core/object/object.cpp index 6ff069d8e23..05a6ac6cee8 100644 --- a/core/object/object.cpp +++ b/core/object/object.cpp @@ -1687,6 +1687,7 @@ void Object::_bind_methods() { BIND_CONSTANT(NOTIFICATION_POSTINITIALIZE); BIND_CONSTANT(NOTIFICATION_PREDELETE); + BIND_CONSTANT(NOTIFICATION_EXTENSION_RELOADED); BIND_ENUM_CONSTANT(CONNECT_DEFERRED); BIND_ENUM_CONSTANT(CONNECT_PERSIST); diff --git a/doc/classes/Object.xml b/doc/classes/Object.xml index b1f308de180..97e3a799a85 100644 --- a/doc/classes/Object.xml +++ b/doc/classes/Object.xml @@ -1027,6 +1027,9 @@ Notification received when the object is about to be deleted. Can act as the deconstructor of some programming languages. + + Notification received when the object finishes hot reloading. This notification is only sent for extensions classes and derived. + Deferred connections trigger their [Callable]s on idle time (at the end of the frame), rather than instantly.