We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents cc48a22 + 7fa39c0 commit 895d433Copy full SHA for 895d433
editor/editor_properties.cpp
@@ -463,10 +463,12 @@ void EditorPropertyPath::_set_read_only(bool p_read_only) {
463
464
void EditorPropertyPath::_path_selected(const String &p_path) {
465
String full_path = p_path;
466
- ResourceUID::ID id = ResourceLoader::get_resource_uid(full_path);
467
468
- if (id != ResourceUID::INVALID_ID) {
469
- full_path = ResourceUID::get_singleton()->id_to_text(id);
+ if (!global) {
+ const ResourceUID::ID id = ResourceLoader::get_resource_uid(full_path);
+ if (id != ResourceUID::INVALID_ID) {
470
+ full_path = ResourceUID::get_singleton()->id_to_text(id);
471
+ }
472
}
473
474
emit_changed(get_edited_property(), full_path);
0 commit comments