mirror of
https://github.com/godotengine/godot.git
synced 2025-01-12 19:14:27 +08:00
Merge pull request #87280 from KoBeWi/all_paths_lead_to_Resource
Display path in tooltips of sub-resource list
This commit is contained in:
commit
e61cae06c6
@ -3998,6 +3998,7 @@ void SceneTreeDock::_list_all_subresources(PopupMenu *p_menu) {
|
||||
}
|
||||
|
||||
p_menu->add_item(display_text);
|
||||
p_menu->set_item_tooltip(-1, pair.first->get_path());
|
||||
p_menu->set_item_metadata(-1, pair.first->get_instance_id());
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user