From 3e0226515eec5f904701fce36c7856617d3ca6b8 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Wed, 9 Sep 2020 21:53:24 +0200 Subject: Rename ShortCut to Shortcut which is more grammatically correct See https://github.com/godotengine/godot/issues/16863#issuecomment-685236980. --- editor/plugins/canvas_item_editor_plugin.h | 10 +++++----- editor/plugins/node_3d_editor_plugin.cpp | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'editor/plugins') diff --git a/editor/plugins/canvas_item_editor_plugin.h b/editor/plugins/canvas_item_editor_plugin.h index ea58fb1e36..859e80befe 100644 --- a/editor/plugins/canvas_item_editor_plugin.h +++ b/editor/plugins/canvas_item_editor_plugin.h @@ -400,11 +400,11 @@ private: Ref select_handle; Ref anchor_handle; - Ref drag_pivot_shortcut; - Ref set_pivot_shortcut; - Ref multiply_grid_step_shortcut; - Ref divide_grid_step_shortcut; - Ref pan_view_shortcut; + Ref drag_pivot_shortcut; + Ref set_pivot_shortcut; + Ref multiply_grid_step_shortcut; + Ref divide_grid_step_shortcut; + Ref pan_view_shortcut; bool _is_node_locked(const Node *p_node); bool _is_node_movable(const Node *p_node, bool p_popup_warning = false); diff --git a/editor/plugins/node_3d_editor_plugin.cpp b/editor/plugins/node_3d_editor_plugin.cpp index 952487c13c..d28bbadf39 100644 --- a/editor/plugins/node_3d_editor_plugin.cpp +++ b/editor/plugins/node_3d_editor_plugin.cpp @@ -2246,7 +2246,7 @@ Point2i Node3DEditorViewport::_get_warped_mouse_motion(const Ref shortcut = ED_GET_SHORTCUT(p_path); + Ref shortcut = ED_GET_SHORTCUT(p_path); if (shortcut.is_null()) { return false; } -- cgit v1.2.3