- 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 to me. Just (what I think is) an outdated doc comment, and a super tiny nit about another comment, both of which can be addressed while landing.
Super nit picky: for some reason my brain parses and relates this comment to the code better if it's phrased, "Read legacy data if needed."
Just repeating: I think this doc comment is out of date. It refers to a T
type parameter, but this function isn't templatized, and is instead specific to FCurve
.
I think there's some cleanup left to do in this PR. Aside from the things that need to be cleaned up, it basically looks good to me as far as I can follow it. But I'll give it another pass after the cleanup.
This feels like it belongs with the other BLI_listbase functions. Although admittedly it would need a clearer, more distinct name then. Not sure if it's actually worth moving there or not, but just wanted to mention it.
It looks like this function used to be templatized by T
, but now isn't, and the documentation didn't get updated yet.
There are a whole lot of printf()
s like this is this PR. Are they intentionally left in? And if so, why? Don't they result in a bunch of console spam during blend file IO?