Hello! I’m trying to create a keyframe operator for the Graph Editor that adjusts keyframe bezier handle lengths.
I’m following the example of keyframe snapping operator, GRAPH_OT_snap, which uses ANIM_fcurve_keyframes_loop to loop through the keyframes. One of its arguments is the KeyframeEditFunc
where the callback containing the keyframe editing logic goes. The callbacks only accept KeyframeEditData
and BezTriple
as arguments, though.
If I’m to add the keyframe editing code in the callbacks of this function, how can I reference my operator properties without passing them as arguments?
Thank you!