Skip to content

Commit

Permalink
Merge pull request #81563 from jsjtxietian/ignore-method-track-when-d…
Browse files Browse the repository at this point in the history
…raw-line

Ignore method track when drawing line between keys
  • Loading branch information
akien-mga committed Sep 12, 2023
2 parents cc61c9d + 042e0f7 commit 183850e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion editor/animation_track_editor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2177,7 +2177,7 @@ void AnimationTrackEdit::draw_key_link(int p_index, float p_pixels_sec, int p_x,

Variant current = animation->track_get_key_value(get_track(), p_index);
Variant next = animation->track_get_key_value(get_track(), p_index + 1);
if (current != next) {
if (current != next || animation->track_get_type(get_track()) == Animation::TrackType::TYPE_METHOD) {
return;
}

Expand Down

0 comments on commit 183850e

Please sign in to comment.