Refactor: combine insert_keyframe() and insert_key_rna() into a single function #122053
@ -115,7 +115,7 @@ void update_autoflags_fcurve_direct(FCurve *fcu, PropertyRNA *prop);
|
||||
CombinedKeyingResult insert_keyframes(Main *bmain,
|
||||
ID &id,
|
||||
const blender::Span<RNAPath> rna_paths,
|
||||
std::optional<std::string> channel_group,
|
||||
std::optional<StringRefNull> channel_group,
|
||||
std::optional<float> scene_frame,
|
||||
const AnimationEvalContext &anim_eval_context,
|
||||
eBezTriple_KeyframeType key_type,
|
||||
|
@ -770,7 +770,7 @@ CombinedKeyingResult insert_key_action(Main *bmain,
|
||||
bAction *action,
|
||||
PointerRNA *ptr,
|
||||
PropertyRNA *prop,
|
||||
const std::optional<std::string> channel_group,
|
||||
const std::optional<StringRefNull> channel_group,
|
||||
const std::string &rna_path,
|
||||
const float frame,
|
||||
const Span<float> values,
|
||||
@ -820,7 +820,7 @@ CombinedKeyingResult insert_key_action(Main *bmain,
|
||||
CombinedKeyingResult insert_keyframes(Main *bmain,
|
||||
ID &id,
|
||||
const blender::Span<RNAPath> rna_paths,
|
||||
const std::optional<std::string> channel_group,
|
||||
const std::optional<StringRefNull> channel_group,
|
||||
const std::optional<float> scene_frame,
|
||||
const AnimationEvalContext &anim_eval_context,
|
||||
const eBezTriple_KeyframeType key_type,
|
||||
|
Loading…
Reference in New Issue
Block a user