diff options
| author | Juan Linietsky | 2015-08-29 17:16:11 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2015-08-29 17:16:11 -0300 |
| commit | b4acd18f3245d0e8c928b1f275847473de8a2270 (patch) | |
| tree | 9482832b4e718154cf6c8f9f0a8d214f7c215e92 /tools/editor/plugins/mesh_editor_plugin.cpp | |
| parent | 1fecba6b5bca276054a26562402cc329ce3dff5b (diff) | |
| download | godot-b4acd18f3245d0e8c928b1f275847473de8a2270.tar.gz godot-b4acd18f3245d0e8c928b1f275847473de8a2270.tar.zst godot-b4acd18f3245d0e8c928b1f275847473de8a2270.zip | |
-display/emulate_touchscreen now really emulates a touchscreen
-icons to show node menus
Diffstat (limited to 'tools/editor/plugins/mesh_editor_plugin.cpp')
| -rw-r--r-- | tools/editor/plugins/mesh_editor_plugin.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/editor/plugins/mesh_editor_plugin.cpp b/tools/editor/plugins/mesh_editor_plugin.cpp index 2c64b2eb6..13d4c8db5 100644 --- a/tools/editor/plugins/mesh_editor_plugin.cpp +++ b/tools/editor/plugins/mesh_editor_plugin.cpp @@ -216,6 +216,8 @@ MeshInstanceEditor::MeshInstanceEditor() { SpatialEditor::get_singleton()->add_control_to_menu_panel(options); options->set_text("Mesh"); + options->set_icon(EditorNode::get_singleton()->get_gui_base()->get_icon("MeshInstance","EditorIcons")); + options->get_popup()->add_item("Create Trimesh Static Body",MENU_OPTION_CREATE_STATIC_TRIMESH_BODY); options->get_popup()->add_item("Create Convex Static Body",MENU_OPTION_CREATE_STATIC_CONVEX_BODY); options->get_popup()->add_separator(); |
