diff options
author | Yuri Sizov <yuris@humnom.net> | 2021-05-19 15:19:07 +0300 |
---|---|---|
committer | Yuri Sizov <yuris@humnom.net> | 2021-05-19 21:39:15 +0300 |
commit | e9206a55ead7fe4e38dc4db51ebf9618c56fafb3 (patch) | |
tree | 5f7a12d3cb7705a5e3babda8029f4cd27e2969e1 /editor/editor_properties_array_dict.cpp | |
parent | 896d84bd156ddc83bb4fd0fcac126662f3964f2b (diff) | |
download | redot-engine-e9206a55ead7fe4e38dc4db51ebf9618c56fafb3.tar.gz |
Use EditorResourcePicker in the Inspector
Diffstat (limited to 'editor/editor_properties_array_dict.cpp')
-rw-r--r-- | editor/editor_properties_array_dict.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_properties_array_dict.cpp b/editor/editor_properties_array_dict.cpp index fb2980c948..3bc29856f1 100644 --- a/editor/editor_properties_array_dict.cpp +++ b/editor/editor_properties_array_dict.cpp @@ -902,7 +902,7 @@ void EditorPropertyDictionary::update_property() { } else { EditorPropertyResource *editor = memnew(EditorPropertyResource); - editor->setup("Resource"); + editor->setup(object.ptr(), prop_name, "Resource"); prop = editor; } |