Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore method track when drawing line between keys #81563

Merged

Conversation

jsjtxietian
Copy link
Contributor

@jsjtxietian jsjtxietian commented Sep 12, 2023

Fixes #80924
If one has a Method Track with multiple calls to the same method, they are joined together and makes things unreadable, just don't draw line between keys for method track.

Copy link
Member

@TokageItLab TokageItLab left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Considering the architectural design, the special case is not good here, but since something similar is already done with draw_key(), so this fix is fine for now. Ideally, an AnimationTrackEditMethod should be created which is extended AnimationTrackEdit for MethodTrackKey.

@akien-mga akien-mga merged commit 183850e into godotengine:master Sep 12, 2023
@akien-mga
Copy link
Member

Thanks!

@jsjtxietian jsjtxietian deleted the ignore-method-track-when-draw-line branch September 13, 2023 04:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Method track shows lines between keys
3 participants