Refactor: combine insert_keyframe() and insert_key_rna() into a single function #122053

Merged
Nathan Vegdahl merged 49 commits from nathanvegdahl/blender:combine_keying_functions into main 2024-06-11 16:43:08 +02:00
2 changed files with 3 additions and 3 deletions
Showing only changes of commit 41ac8fe1b0 - Show all commits

View File

@ -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,

View File

@ -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,