diff options
| author | luz.paz | 2018-02-21 11:30:55 -0500 |
|---|---|---|
| committer | Rémi Verschelde | 2018-02-21 19:46:06 +0100 |
| commit | 612ab4bbc6f2396f4dcd68c3f142f7dfa2f5f0a5 (patch) | |
| tree | 74a9d00318eb6666ae65ae222d22f7d0352cc2ca /editor/plugins/canvas_item_editor_plugin.cpp | |
| parent | 6afaf83de39d29746f8852daadadc0d46483c7ef (diff) | |
| download | godot-612ab4bbc6f2396f4dcd68c3f142f7dfa2f5f0a5.tar.gz godot-612ab4bbc6f2396f4dcd68c3f142f7dfa2f5f0a5.tar.zst godot-612ab4bbc6f2396f4dcd68c3f142f7dfa2f5f0a5.zip | |
Fix typos with codespell
Found via `codespell -q 3 --skip="./thirdparty,./editor/translations" -I ../godot-word-whitelist.txt`
Whitelist consists of:
```
ang
doubleclick
lod
nd
que
te
unselect
```
Diffstat (limited to '')
| -rw-r--r-- | editor/plugins/canvas_item_editor_plugin.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/editor/plugins/canvas_item_editor_plugin.cpp b/editor/plugins/canvas_item_editor_plugin.cpp index 9680ad07e..f16747f92 100644 --- a/editor/plugins/canvas_item_editor_plugin.cpp +++ b/editor/plugins/canvas_item_editor_plugin.cpp @@ -597,7 +597,7 @@ void CanvasItemEditor::_save_canvas_item_state(List<CanvasItem *> p_canvas_items bone = Object::cast_to<Node2D>(bone->get_parent()); } - //Save the bone state and lenght if we have an IK chain + //Save the bone state and length if we have an IK chain if (ik_found) { bone = Object::cast_to<Node2D>(canvas_item); Transform2D bone_xform = bone->get_global_transform(); @@ -676,12 +676,12 @@ bool CanvasItemEditor::_gui_input_rulers_and_guides(const Ref<InputEvent> &p_eve Ref<InputEventMouseButton> b = p_event; Ref<InputEventMouseMotion> m = p_event; - // Start draging a guide + // Start dragging a guide if (drag_type == DRAG_NONE) { if (b.is_valid() && b->get_button_index() == BUTTON_LEFT && b->is_pressed()) { if (show_guides && show_rulers && EditorNode::get_singleton()->get_edited_scene()) { Transform2D xform = viewport_scrollable->get_transform() * transform; - // Retreive the guide lists + // Retrieve the guide lists Array vguides; if (EditorNode::get_singleton()->get_edited_scene()->has_meta("_edit_vertical_guides_")) { vguides = EditorNode::get_singleton()->get_edited_scene()->get_meta("_edit_vertical_guides_"); |
