Use EditorResourcePicker in the Inspector
This commit is contained in:
parent
896d84bd15
commit
e9206a55ea
9 changed files with 362 additions and 800 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue