diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2017-04-06 23:04:43 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-06 23:04:43 +0200 |
commit | a30de0a85f225f59cb822ee76d0c873d8afd597d (patch) | |
tree | 23761dc5e63c239279baaee58e0173074c3d3288 /editor/plugins/spatial_editor_plugin.cpp | |
parent | b49925caab99fb49b0d50b0f4696d20fd3f4f1d0 (diff) | |
parent | d51fe99a8b6daa3ec6495a5b3e27b63d752c3783 (diff) | |
download | redot-engine-a30de0a85f225f59cb822ee76d0c873d8afd597d.tar.gz |
Merge pull request #8290 from supaiku-o/fix-highlight-typo
Fix highlight typo
Diffstat (limited to 'editor/plugins/spatial_editor_plugin.cpp')
-rw-r--r-- | editor/plugins/spatial_editor_plugin.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/editor/plugins/spatial_editor_plugin.cpp b/editor/plugins/spatial_editor_plugin.cpp index c00652bc35..d642a3c468 100644 --- a/editor/plugins/spatial_editor_plugin.cpp +++ b/editor/plugins/spatial_editor_plugin.cpp @@ -524,7 +524,7 @@ bool SpatialEditorViewport::_gizmo_select(const Vector2 &p_screenpos, bool p_hil return false; if (get_selected_count() == 0) { if (p_hilite_only) - spatial_editor->select_gizmo_hilight_axis(-1); + spatial_editor->select_gizmo_highlight_axis(-1); return false; } @@ -558,7 +558,7 @@ bool SpatialEditorViewport::_gizmo_select(const Vector2 &p_screenpos, bool p_hil if (p_hilite_only) { - spatial_editor->select_gizmo_hilight_axis(col_axis); + spatial_editor->select_gizmo_highlight_axis(col_axis); } else { //handle rotate @@ -598,7 +598,7 @@ bool SpatialEditorViewport::_gizmo_select(const Vector2 &p_screenpos, bool p_hil if (p_hilite_only) { - spatial_editor->select_gizmo_hilight_axis(col_axis + 3); + spatial_editor->select_gizmo_highlight_axis(col_axis + 3); } else { //handle rotate _edit.mode = TRANSFORM_ROTATE; @@ -610,7 +610,7 @@ bool SpatialEditorViewport::_gizmo_select(const Vector2 &p_screenpos, bool p_hil } if (p_hilite_only) - spatial_editor->select_gizmo_hilight_axis(-1); + spatial_editor->select_gizmo_highlight_axis(-1); return false; } @@ -1069,7 +1069,7 @@ void SpatialEditorViewport::_sinput(const InputEvent &p_event) { spatial_editor->set_over_gizmo_handle(selected_handle); spatial_editor->get_selected()->update_gizmo(); if (selected_handle != -1) - spatial_editor->select_gizmo_hilight_axis(-1); + spatial_editor->select_gizmo_highlight_axis(-1); } } } @@ -2229,7 +2229,7 @@ SpatialEditorSelectedItem::~SpatialEditorSelectedItem() { VisualServer::get_singleton()->free(sbox_instance); } -void SpatialEditor::select_gizmo_hilight_axis(int p_axis) { +void SpatialEditor::select_gizmo_highlight_axis(int p_axis) { for (int i = 0; i < 3; i++) { |