mirror of
https://github.com/godotengine/godot.git
synced 2024-11-24 13:12:42 +00:00
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
Block a user