Display path in tooltips of sub-resource list
This commit is contained in:
parent
107f2961cc
commit
60e88f2def
1 changed files with 1 additions and 0 deletions
|
@ -3998,6 +3998,7 @@ void SceneTreeDock::_list_all_subresources(PopupMenu *p_menu) {
|
||||||
}
|
}
|
||||||
|
|
||||||
p_menu->add_item(display_text);
|
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());
|
p_menu->set_item_metadata(-1, pair.first->get_instance_id());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue