Merge pull request #81563 from jsjtxietian/ignore-method-track-when-draw-line

Ignore method track when drawing line between keys
This commit is contained in:
Rémi Verschelde 2023-09-12 12:02:26 +02:00
commit 183850ee24
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}