diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2023-02-11 22:04:02 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-02-11 22:04:02 +0100 |
commit | 5ba53d0b36482fbd01675c840a48e39d44401b32 (patch) | |
tree | 310a724e2e8495c8d9dcc934b80469aae06cbba6 | |
parent | 9075d5e93245858a19b07c4c7dcf74e9ecb707ce (diff) | |
parent | 18e4b061620a8a6e776d2f611cdf7473ea3777f6 (diff) |
Merge pull request #71740 from Jummit/dict-array-missing-types
Support signals and callables in exposed dictionaries
-rw-r--r-- | editor/editor_properties_array_dict.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/editor/editor_properties_array_dict.cpp b/editor/editor_properties_array_dict.cpp index 24cfa7ad7b..80ebd32295 100644 --- a/editor/editor_properties_array_dict.cpp +++ b/editor/editor_properties_array_dict.cpp @@ -1009,6 +1009,14 @@ void EditorPropertyDictionary::update_property() { prop = memnew(EditorPropertyRID); } break; + case Variant::SIGNAL: { + prop = memnew(EditorPropertySignal); + + } break; + case Variant::CALLABLE: { + prop = memnew(EditorPropertyCallable); + + } break; case Variant::OBJECT: { if (Object::cast_to<EncodedObjectAsID>(value)) { EditorPropertyObjectID *editor = memnew(EditorPropertyObjectID); |