diff options
| author | Juan Linietsky | 2017-01-13 19:36:04 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2017-01-13 19:36:04 -0300 |
| commit | 00ec16e3f3a98339ec7462675fa41b3dd240861b (patch) | |
| tree | bf2b76e70583a0b94ace525cc612b267b3d9d488 /tools/editor/plugins/animation_player_editor_plugin.cpp | |
| parent | a97551902e24ef1ac8fd709d77a5195b73c6c1ae (diff) | |
| download | godot-00ec16e3f3a98339ec7462675fa41b3dd240861b.tar.gz godot-00ec16e3f3a98339ec7462675fa41b3dd240861b.tar.zst godot-00ec16e3f3a98339ec7462675fa41b3dd240861b.zip | |
renamed tween animationplayer scale functions to speed_scale
Diffstat (limited to 'tools/editor/plugins/animation_player_editor_plugin.cpp')
| -rw-r--r-- | tools/editor/plugins/animation_player_editor_plugin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/editor/plugins/animation_player_editor_plugin.cpp b/tools/editor/plugins/animation_player_editor_plugin.cpp index 9850298c6..6646fea3d 100644 --- a/tools/editor/plugins/animation_player_editor_plugin.cpp +++ b/tools/editor/plugins/animation_player_editor_plugin.cpp @@ -768,7 +768,7 @@ void AnimationPlayerEditor::_dialog_action(String p_file) { void AnimationPlayerEditor::_scale_changed(const String& p_scale) { - player->set_speed(p_scale.to_double()); + player->set_speed_scale(p_scale.to_double()); } void AnimationPlayerEditor::_update_animation() { @@ -790,7 +790,7 @@ void AnimationPlayerEditor::_update_animation() { stop->set_pressed(true); } - scale->set_text( String::num(player->get_speed(),2) ); + scale->set_text( String::num(player->get_speed_scale(),2) ); String current=player->get_current_animation(); for (int i=0;i<animation->get_item_count();i++) { |
