mirror of
https://github.com/godotengine/godot.git
synced 2024-12-02 17:12:43 +00:00
Merge pull request #21015 from godotengine/revert-20112-openvisualeditorbutton
Revert "Open visual editor when "open editor" button in the inspector is pressed"
This commit is contained in:
commit
6808583306
@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user