- 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
strip_keyframe_data_append()
doc comment accurate
See my comment up-thread: blender/blender#127414 (comment)
Basically, until we do DNA_DEFINE_CXX_METHODS
on our DNA types (in this case…
I went back to memcpy with this code. Let me know if this is sane
If you're casting to the DNA struct anyway, then it doesn't need to be a memcpy. You can just do direct assignment as in my…
It actually can do what you want, but it's (IMO) counterintuitive until you understand the pattern, and following the pattern requires DNA_DEFINE_CXX_METHODS
on the DNA struct.
The way I…
I've been trying to stick to the naming convention *strip_data
for these kinds of variables, since they're not the strip itself (which contains the start/end/offset) but rather the data the strip refers to (in this case keyframe data).
Yeah, ha ha.
Regarding the discussion you're referring to, I talked with @filedescriptor in person afterwards, and actually ended up addressing it differently. I do think we should do what…