From 885f2a4eca0f348e8d04e45e6e9a0e950f4c6964 Mon Sep 17 00:00:00 2001 From: Micky Date: Tue, 6 Dec 2022 13:50:54 +0100 Subject: 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. --- core/object/object.h | 1 + 1 file changed, 1 insertion(+) (limited to 'core/object') 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 { -- cgit v1.2.3