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

Fix animation when adding new Bezier track. #81987

Closed
wants to merge 4 commits into from

Conversation

BrinerLovo
Copy link
Contributor

@BrinerLovo BrinerLovo commented Sep 20, 2023

Fix the reported issue #81929

The issue was caused due to insert_queue was prematurely set to false before awaiting dialog confirmation for track insertion. Additionally, refactored the code to eliminate redundancy and enhance code reusability.

Fix the reported issue godotengine#81929

The issue was caused due to 'insert_queue' was prematurely set to false before awaiting dialog confirmation for track insertion. Additionally, refactored the code to eliminate redundancy and enhance code reusability.
@AThousandShips
Copy link
Member

To link the issue you need to put fixes ahead of the issue number, I have fixed this for you but keep this in mind in the future

@@ -4016,30 +4015,12 @@ Ref<Animation> AnimationTrackEditor::_create_and_get_reset_animation() {
}

void AnimationTrackEditor::_confirm_insert_list() {
Copy link
Member

Choose a reason for hiding this comment

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

How are you ensuring that this code still works?

@BrinerLovo BrinerLovo closed this Sep 20, 2023
@AThousandShips AThousandShips removed this from the 4.x milestone Sep 20, 2023
@AThousandShips
Copy link
Member

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.

Animation: when adding new Bezier track, first key value is not recorded (is always 0)
3 participants