Skip to content

Fix animation keying not working with toggleable inspector sections #107919

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

Merged
merged 1 commit into from
Jul 3, 2025

Conversation

lodetrick
Copy link
Contributor

@lodetrick lodetrick commented Jun 24, 2025

Closes #107891 Closes #107826
Supersedes #107857

This PR adds the animation keying button to toggleable sections. This also allows the buttons to update over time in order to accommodate how the animation editor edits the values.

@lodetrick lodetrick force-pushed the toggle-section-key branch 3 times, most recently from db89868 to d7405ac Compare June 24, 2025 02:43
@AThousandShips AThousandShips requested a review from a team June 24, 2025 07:53
@AThousandShips AThousandShips added this to the 4.5 milestone Jun 24, 2025
@lodetrick lodetrick force-pushed the toggle-section-key branch 4 times, most recently from 75a8ded to 2aaf33f Compare June 25, 2025 20:49
Copy link
Member

@Calinou Calinou left a comment

Choose a reason for hiding this comment

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

Tested locally, it works as expected. Code looks good to me.

@lodetrick lodetrick force-pushed the toggle-section-key branch from 2aaf33f to f2233b3 Compare June 29, 2025 18:37
@lodetrick
Copy link
Contributor Author

lodetrick commented Jun 29, 2025

I just pushed a fix that allows the "favorited" sections to update properly, I just added the relevant ones to the sections list (which is used to fold and unfold everything and update the properties now).

It was two lines of code, 4492 and 4532

@lodetrick lodetrick force-pushed the toggle-section-key branch from f2233b3 to 5443fe9 Compare July 2, 2025 21:13
@lodetrick
Copy link
Contributor Author

I resolved the comments and adapted the folding code to handle the fact that toggleable sections can now be not foldable (since the sections in favorites were added to sections which meant that fold and unfold were called on them)

@Repiteo Repiteo merged commit 6e5297a into godotengine:master Jul 3, 2025
20 checks passed
@Repiteo
Copy link
Contributor

Repiteo commented Jul 3, 2025

Thanks!

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.

Editor sections enable checkboxes loss keyframe buttons Toggleable Group Checkbox Doesn't Update in Inspector After External Change
5 participants