From 5c88bc66e3a9dbfc4cd9d9a1ad8c7fc07c299a34 Mon Sep 17 00:00:00 2001 From: Hein-Pieter van Braam Date: Sun, 29 Jul 2018 04:14:57 +0200 Subject: Undo an accidental revert. Sorry for the history pollution. I was testing something on this branch and forgot to reset befor pushing the security update. This reverts commit 2ef66def4615594b87340aed2b02adf2204c74c2. --- 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 e77fcadeed..79490f1c8e 100644 --- a/editor/editor_properties.cpp +++ b/editor/editor_properties.cpp @@ -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_item(res.ptr()); + EditorNode::get_singleton()->edit_resource(res.ptr()); } } -- cgit v1.2.3