summaryrefslogtreecommitdiffstats
path: root/editor/plugins/animation_player_editor_plugin.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2018-01-18 21:37:17 +0100
committerRémi Verschelde <rverschelde@gmail.com>2018-01-18 22:01:42 +0100
commit9f479f096cb50fa8d1215e68c262f110116114ef (patch)
treef115332a8e73ab059c16b077873ca2f3faab9cb1 /editor/plugins/animation_player_editor_plugin.cpp
parenta1c08b71091c47d626410406f36a4bb6fca40953 (diff)
downloadredot-engine-9f479f096cb50fa8d1215e68c262f110116114ef.tar.gz
Fix typos in code and docs with codespell
Using v1.11.0 from https://github.com/lucasdemarchi/codespell
Diffstat (limited to 'editor/plugins/animation_player_editor_plugin.cpp')
-rw-r--r--editor/plugins/animation_player_editor_plugin.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/editor/plugins/animation_player_editor_plugin.cpp b/editor/plugins/animation_player_editor_plugin.cpp
index d071d43cb7..c22e1cd88b 100644
--- a/editor/plugins/animation_player_editor_plugin.cpp
+++ b/editor/plugins/animation_player_editor_plugin.cpp
@@ -187,7 +187,7 @@ void AnimationPlayerEditor::_play_pressed() {
if (current != "") {
if (current == player->get_assigned_animation())
- player->stop(); //so it wont blend with itself
+ player->stop(); //so it won't blend with itself
player->play(current);
}
@@ -211,7 +211,7 @@ void AnimationPlayerEditor::_play_from_pressed() {
if (current == player->get_assigned_animation() && player->is_playing()) {
- player->stop(); //so it wont blend with itself
+ player->stop(); //so it won't blend with itself
}
player->play(current);
@@ -235,7 +235,7 @@ void AnimationPlayerEditor::_play_bw_pressed() {
if (current != "") {
if (current == player->get_assigned_animation())
- player->stop(); //so it wont blend with itself
+ player->stop(); //so it won't blend with itself
player->play(current, -1, -1, true);
}
@@ -257,7 +257,7 @@ void AnimationPlayerEditor::_play_bw_from_pressed() {
float time = player->get_current_animation_position();
if (current == player->get_assigned_animation())
- player->stop(); //so it wont blend with itself
+ player->stop(); //so it won't blend with itself
player->play(current, -1, -1, true);
player->seek(time);