Revert "Open visual editor when "open editor" button in the inspector is pressed."

This reverts commit 0ae400f523.
This commit is contained in:
Hein-Pieter van Braam 2018-07-28 21:16:20 +02:00
parent 07129deaeb
commit 2ef66def46

View file

@ -2173,7 +2173,7 @@ void EditorPropertyResource::_sub_inspector_object_id_selected(int p_id) {
void EditorPropertyResource::_open_editor_pressed() {
RES res = get_edited_object()->get(get_edited_property());
if (res.is_valid()) {
EditorNode::get_singleton()->edit_resource(res.ptr());
EditorNode::get_singleton()->edit_item(res.ptr());
}
}