Added shortcuts to convert_to/MeshLibrary and convert_to/TileSet (pretty handy), dissabled by default.

This commit is contained in:
Daniel J. Ramirez 2016-06-11 21:51:54 -05:00
parent 7427cbee7b
commit 9b7e21698d

View file

@ -5629,8 +5629,8 @@ EditorNode::EditorNode() {
p->add_submenu_item(TTR("Convert To.."),"Export"); p->add_submenu_item(TTR("Convert To.."),"Export");
pm_export->add_item(TTR("Translatable Strings.."),FILE_DUMP_STRINGS); pm_export->add_item(TTR("Translatable Strings.."),FILE_DUMP_STRINGS);
pm_export->add_separator(); pm_export->add_separator();
pm_export->add_item(TTR("MeshLibrary.."),FILE_EXPORT_MESH_LIBRARY); pm_export->add_shortcut(ED_SHORTCUT("editor/convert_to_MeshLibrary", TTR("MeshLibrary..")), FILE_EXPORT_MESH_LIBRARY);
pm_export->add_item(TTR("TileSet.."),FILE_EXPORT_TILESET); pm_export->add_shortcut(ED_SHORTCUT("editor/convert_to_TileSet", TTR("TileSet..")), FILE_EXPORT_TILESET);
pm_export->connect("item_pressed",this,"_menu_option"); pm_export->connect("item_pressed",this,"_menu_option");
p->add_separator(); p->add_separator();