Add a flag to make the connection automatically emit the source object.
Mainly used to improve the connection dialog. Not implemented in `emit_signalp()`, append the source object when a PackScene is instantiated.
This commit is contained in:
parent
6c9765d87e
commit
5e2396e001
6 changed files with 95 additions and 21 deletions
|
|
@ -1924,6 +1924,7 @@ void Object::_bind_methods() {
|
|||
BIND_ENUM_CONSTANT(CONNECT_PERSIST);
|
||||
BIND_ENUM_CONSTANT(CONNECT_ONE_SHOT);
|
||||
BIND_ENUM_CONSTANT(CONNECT_REFERENCE_COUNTED);
|
||||
BIND_ENUM_CONSTANT(CONNECT_APPEND_SOURCE_OBJECT);
|
||||
}
|
||||
|
||||
void Object::set_deferred(const StringName &p_property, const Variant &p_value) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue