@@ -1077,12 +1077,16 @@ void AnimationPlayerEditor::_animation_key_editor_seek(float p_pos, bool p_drag)
if (!is_visible_in_tree())
return;
+
if (!player)
if (player->is_playing())
+ if (!player->has_animation(player->get_assigned_animation()))
+ return;
Ref<Animation> anim = player->get_animation(player->get_assigned_animation());
updating = true;