Merge pull request #71740 from Jummit/dict-array-missing-types
Support signals and callables in exposed dictionaries
This commit is contained in:
commit
5ba53d0b36
|
@ -1008,6 +1008,14 @@ void EditorPropertyDictionary::update_property() {
|
|||
case Variant::RID: {
|
||||
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)) {
|
||||
|
|
Loading…
Reference in New Issue