diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-09-14 14:44:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-14 14:44:03 +0200 |
commit | 85cd6960c6e45f653b21987a297f1feede67c735 (patch) | |
tree | b24998eff8f9eab9e54fe7cbcf30b5d3556c99b2 /editor/editor_resource_picker.cpp | |
parent | 50a6905f2d20b9c4f7d3d8738bd09869cd5cba6a (diff) | |
parent | 1e99c13de253e28e85b4e94a0ac229cb88f5fdfe (diff) |
Merge pull request #65494 from V-Sekai/fix_inspect_command_context
Diffstat (limited to 'editor/editor_resource_picker.cpp')
-rw-r--r-- | editor/editor_resource_picker.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_resource_picker.cpp b/editor/editor_resource_picker.cpp index 5346052f4d..84cb085551 100644 --- a/editor/editor_resource_picker.cpp +++ b/editor/editor_resource_picker.cpp @@ -186,7 +186,7 @@ void EditorResourcePicker::_update_menu_items() { // Add options for changing existing value of the resource. if (edited_resource.is_valid()) { // Determine if the edited resource is part of another scene (foreign) which was imported - bool is_edited_resource_foreign_import = EditorNode::get_singleton()->is_resource_read_only(edited_resource); + bool is_edited_resource_foreign_import = EditorNode::get_singleton()->is_resource_read_only(edited_resource, true); // If the resource is determined to be foreign and imported, change the menu entry's description to 'inspect' rather than 'edit' // since will only be able to view its properties in read-only mode. |