- Amsterdam, Netherlands
- https://cessen.com
-
Animator, rigger, and software developer. Currently working at the Blender Institute as a developer on Blender's animation system.
Been using Blender since 1998, and worked on Big Buck Bunny and Sintel (two of Blender's open movie projects).
- Joined on
2003-03-21
Looks good, and indeed fixes the bug in testing. 👍
BKE_fcurve_find()
calls with new API
Approved. Just take a look at blender/blender#128036 (comment) regarding moving the TODO to where my past blunder was.
BKE_fcurve_find()
calls with new API
Agreed this is out of scope. I'll add it to my todo to look at later.
BKE_fcurve_find()
calls with new API
If you don't feel like doing it as part of this PR, I think it suffices to just move the TODO to that if clause. Particularly since we'll be getting rid of the legacy action stuff before it…
BKE_fcurve_find()
calls with new API
Oooh, good point.
But I think that means the if clause for the layered action case is wrong, then (again, thanks to past me). Instead of just `if (USER_EXPERIMENTAL_TEST(&U, use_animation_bakla…
BKE_fcurve_find()
calls with new API
I don't think this comment is correct, because layered actions are handled above. If we get here, that means the action is legacy.
BKE_fcurve_find()
calls with new API
I think it might be better to just do an assert_baklava_phase_1_invariants()
and not bother looping over the layers and strips at all. It's not clear to me what the semantics of this even should be outside of those conditions right now, anyway.
BKE_fcurve_find()
calls with new API
This was a pre-existing mistake (possibly my fault...). But I'm pretty sure this should be fcurve_find_in_action_slot()
or fcurve_find_in_assigned_slot()
(depending on which is most convenient), because action_fcurve_ensure()
also ensures for the assigned slot.
The Collada todo in #123424 is for add_keyframes_from()
and the things it impacts. This change is separate from that, and was a low-hanging fruit.