From c72cab1293e98ff3b88f33d92c25798fa6e3ef27 Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Tue, 14 Aug 2018 15:35:21 -0300 Subject: Revert "Open visual editor when "open editor" button in the inspector is pressed" --- editor/editor_properties.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/editor_properties.cpp b/editor/editor_properties.cpp index 48c4dc7689..59798bfab3 100644 --- a/editor/editor_properties.cpp +++ b/editor/editor_properties.cpp @@ -2254,7 +2254,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()); } } -- cgit v1.2.3