diff options
author | Juan Linietsky <reduzio@gmail.com> | 2018-08-12 10:20:20 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2018-08-12 10:20:32 -0300 |
commit | 15530ce2c51937da9050d6bf3dece34fc9e278cd (patch) | |
tree | 6f22e077c879232a47f14eb2df3ba282859739af | |
parent | 2a4cd769a1d861ad3d5414e563b899ba207fbd0f (diff) |
Fix gizmos submenu
-rw-r--r-- | editor/plugins/spatial_editor_plugin.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/editor/plugins/spatial_editor_plugin.cpp b/editor/plugins/spatial_editor_plugin.cpp index 00d8dfab21..40d6b67426 100644 --- a/editor/plugins/spatial_editor_plugin.cpp +++ b/editor/plugins/spatial_editor_plugin.cpp @@ -5400,6 +5400,9 @@ SpatialEditor::SpatialEditor(EditorNode *p_editor) { p->add_separator(); p->add_submenu_item(TTR("Gizmos"), "GizmosMenu"); + + p->add_separator(); + p->add_check_shortcut(ED_SHORTCUT("spatial_editor/view_origin", TTR("View Origin")), MENU_VIEW_ORIGIN); p->add_check_shortcut(ED_SHORTCUT("spatial_editor/view_grid", TTR("View Grid")), MENU_VIEW_GRID); p->add_separator(); |