1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-06 12:20:30 +00:00

Removed unused variables, add some constants numbers

This commit is contained in:
Rafał Mikrut
2019-12-10 05:13:02 +01:00
parent 6f38aeef52
commit ed1c4bc77d
41 changed files with 112 additions and 91 deletions

View File

@@ -1089,8 +1089,6 @@ void AnimationPlayerEditor::_animation_key_editor_seek(float p_pos, bool p_drag)
if (!player->has_animation(player->get_assigned_animation()))
return;
Ref<Animation> anim = player->get_animation(player->get_assigned_animation());
updating = true;
frame->set_value(Math::stepify(p_pos, _get_editor_step()));
updating = false;