You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
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:
@@ -573,10 +573,11 @@ public:
|
||||
|
||||
enum ConnectFlags {
|
||||
CONNECT_DEFERRED = 1,
|
||||
CONNECT_PERSIST = 2, // hint for scene to save this connection
|
||||
CONNECT_PERSIST = 2, // Hint for scene to save this connection.
|
||||
CONNECT_ONE_SHOT = 4,
|
||||
CONNECT_REFERENCE_COUNTED = 8,
|
||||
CONNECT_INHERITED = 16, // Used in editor builds.
|
||||
CONNECT_APPEND_SOURCE_OBJECT = 16,
|
||||
CONNECT_INHERITED = 32, // Used in editor builds.
|
||||
};
|
||||
|
||||
struct Connection {
|
||||
|
||||
Reference in New Issue
Block a user