summaryrefslogtreecommitdiff
path: root/core/object
diff options
context:
space:
mode:
authorMicky <micheledevita2@gmail.com>2022-12-06 13:50:54 +0100
committerMicky <micheledevita2@gmail.com>2022-12-08 13:36:48 +0100
commit885f2a4eca0f348e8d04e45e6e9a0e950f4c6964 (patch)
tree554b93f867a413d82c3e020c475d0c095824cb42 /core/object
parentf3e6750a7e4702918e05f42b1376e30e652f2f90 (diff)
Fix unable to disconnect signal in Editor once created
Adds a CONNECT_INHERITED flag to connections, only available in editor builds. This flag denotes that the signal has been inherited from a previous Scene in the instancing hierarchy.
Diffstat (limited to 'core/object')
-rw-r--r--core/object/object.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/object/object.h b/core/object/object.h
index 3ad8391dd6..446550f91f 100644
--- a/core/object/object.h
+++ b/core/object/object.h
@@ -556,6 +556,7 @@ public:
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.
};
struct Connection {