-
-
Notifications
You must be signed in to change notification settings - Fork 21.2k
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
Allow to load multiple animation/libraries at once in the animation manager #83503
Allow to load multiple animation/libraries at once in the animation manager #83503
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested, big UX improvement, LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you implement the changes @AThousandShips requested please?
Some crash when loading multiple (empty) AnimationLibraries:
|
513e5d3
to
7cd6f9c
Compare
@SaracenOne @AThousandShips Changes made. @KoBeWi How many libraries are you loading? I tried to reproduce the crash on my end, but no success. |
I used Create New Resource to make libraries (empty) and loaded them in a newly created AnimationPlayer. |
Welp, I loaded 10, and no crash. |
godot.windows.editor.dev.x86_64_9owj7UepNG.mp4Seems like you need to add an animation before loading libraries. |
7cd6f9c
to
24f7823
Compare
@KoBeWi So, I found the problem... I mixed up the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay, LGTM! 👍
Oh hey! I've actually made a similar PR recently, because this one didn't pop up in the search as it doesn't mention Animation Library Editor. It can probably be closed now, but there's also another small QOL improvement, (re)enabling the tree fold arrow in the same screen, because scrolling through hundreds of animations is a PITA. Can be cherrypicked from second commit. (it's one line)
|
It happens, don't worry. However, in your PR, each undo/redo action is done separately, instead of being contained into a single one.
It would probably be easier to just remove the first commit and keep the second one in your PR instead. |
24f7823
to
bb20c94
Compare
bb20c94
to
b61fe92
Compare
@AThousandShips Changes made. Conflicts resolved. |
b61fe92
to
3b249e3
Compare
3b249e3
to
0f37ee8
Compare
Thanks! |
Great news! LFG |
Currently, you can only load animations and animation libraries one-by-one in the "Edit Animation Libraries" dialog. This PR allows the user to now pick multiple ones at once to load.