|
Blender
V2.93
|
#include "BLI_sys_types.h"Go to the source code of this file.
Classes | |
| struct | AnimationEvalContext |
| struct | AnimationBasePathChange |
Typedefs | |
| typedef struct AnimationEvalContext | AnimationEvalContext |
| typedef struct AnimationBasePathChange | AnimationBasePathChange |
| typedef void(* | ID_AnimData_Edit_Callback) (struct ID *id, struct AnimData *adt, void *user_data) |
| typedef void(* | ID_FCurve_Edit_Callback) (struct ID *id, struct FCurve *fcu, void *user_data) |
| typedef struct NlaKeyframingContext | NlaKeyframingContext |
| typedef enum eAnimData_Recalc | eAnimData_Recalc |
Enumerations | |
| enum | eAnimData_Recalc { ADT_RECALC_DRIVERS = (1 << 0) , ADT_RECALC_ANIM = (1 << 1) , ADT_RECALC_ALL = (ADT_RECALC_DRIVERS | ADT_RECALC_ANIM) } |
Functions | |
| AnimationEvalContext | BKE_animsys_eval_context_construct (struct Depsgraph *depsgraph, float eval_time) |
| AnimationEvalContext | BKE_animsys_eval_context_construct_at (const AnimationEvalContext *anim_eval_context, float eval_time) |
| struct KeyingSet * | BKE_keyingset_add (struct ListBase *list, const char idname[], const char name[], short flag, short keyingflag) |
| struct KS_Path * | BKE_keyingset_add_path (struct KeyingSet *ks, struct ID *id, const char group_name[], const char rna_path[], int array_index, short flag, short groupmode) |
| struct KS_Path * | BKE_keyingset_find_path (struct KeyingSet *ks, struct ID *id, const char group_name[], const char rna_path[], int array_index, int group_mode) |
| void | BKE_keyingsets_copy (struct ListBase *newlist, const struct ListBase *list) |
| void | BKE_keyingsets_foreach_id (struct LibraryForeachIDData *data, const struct ListBase *keyingsets) |
| void | BKE_keyingset_free_path (struct KeyingSet *ks, struct KS_Path *ksp) |
| void | BKE_keyingset_free (struct KeyingSet *ks) |
| void | BKE_keyingsets_free (struct ListBase *list) |
| void | BKE_keyingsets_blend_write (struct BlendWriter *writer, struct ListBase *list) |
| void | BKE_keyingsets_blend_read_data (struct BlendDataReader *reader, struct ListBase *list) |
| void | BKE_keyingsets_blend_read_lib (struct BlendLibReader *reader, struct ID *id, struct ListBase *list) |
| void | BKE_keyingsets_blend_read_expand (struct BlendExpander *expander, struct ListBase *list) |
| char * | BKE_animsys_fix_rna_path_rename (struct ID *owner_id, char *old_path, const char *prefix, const char *oldName, const char *newName, int oldSubscript, int newSubscript, bool verify_paths) |
| void | BKE_action_fix_paths_rename (struct ID *owner_id, struct bAction *act, const char *prefix, const char *oldName, const char *newName, int oldSubscript, int newSubscript, bool verify_paths) |
| void | BKE_animdata_fix_paths_rename (struct ID *owner_id, struct AnimData *adt, struct ID *ref_id, const char *prefix, const char *oldName, const char *newName, int oldSubscript, int newSubscript, bool verify_paths) |
| void | BKE_animdata_fix_paths_rename_all (struct ID *ref_id, const char *prefix, const char *oldName, const char *newName) |
| void | BKE_animdata_fix_paths_rename_all_ex (struct Main *bmain, struct ID *ref_id, const char *prefix, const char *oldName, const char *newName, const int oldSubscript, const int newSubscript, const bool verify_paths) |
| bool | BKE_animdata_fix_paths_remove (struct ID *id, const char *path) |
| void | BKE_animdata_transfer_by_basepath (struct Main *bmain, struct ID *srcID, struct ID *dstID, struct ListBase *basepaths) |
| char * | BKE_animdata_driver_path_hack (struct bContext *C, struct PointerRNA *ptr, struct PropertyRNA *prop, char *base_path) |
| void | BKE_animdata_main_cb (struct Main *bmain, ID_AnimData_Edit_Callback func, void *user_data) |
| void | BKE_fcurves_main_cb (struct Main *bmain, ID_FCurve_Edit_Callback func, void *user_data) |
| void | BKE_fcurves_id_cb (struct ID *id, ID_FCurve_Edit_Callback func, void *user_data) |
| struct NlaKeyframingContext * | BKE_animsys_get_nla_keyframing_context (struct ListBase *cache, struct PointerRNA *ptr, struct AnimData *adt, const struct AnimationEvalContext *anim_eval_context) |
| bool | BKE_animsys_nla_remap_keyframe_values (struct NlaKeyframingContext *context, struct PointerRNA *prop_ptr, struct PropertyRNA *prop, float *values, int count, int index, bool *r_force_all) |
| void | BKE_animsys_free_nla_keyframing_context_cache (struct ListBase *cache) |
| bool | BKE_animsys_rna_path_resolve (struct PointerRNA *ptr, const char *rna_path, const int array_index, struct PathResolvedRNA *r_result) |
| bool | BKE_animsys_read_from_rna_path (struct PathResolvedRNA *anim_rna, float *r_value) |
| bool | BKE_animsys_write_to_rna_path (struct PathResolvedRNA *anim_rna, const float value) |
| void | BKE_animsys_evaluate_animdata (struct ID *id, struct AnimData *adt, const struct AnimationEvalContext *anim_eval_context, eAnimData_Recalc recalc, const bool flush_to_original) |
| void | BKE_animsys_evaluate_all_animation (struct Main *main, struct Depsgraph *depsgraph, float ctime) |
| void | animsys_evaluate_action (struct PointerRNA *ptr, struct bAction *act, const struct AnimationEvalContext *anim_eval_context, bool flush_to_original) |
| void | animsys_evaluate_action_group (struct PointerRNA *ptr, struct bAction *act, struct bActionGroup *agrp, const struct AnimationEvalContext *anim_eval_context) |
| void | BKE_animsys_eval_animdata (struct Depsgraph *depsgraph, struct ID *id) |
| void | BKE_animsys_eval_driver (struct Depsgraph *depsgraph, struct ID *id, int driver_index, struct FCurve *fcu_orig) |
| void | BKE_animsys_update_driver_array (struct ID *id) |
| typedef struct AnimationBasePathChange AnimationBasePathChange |
| typedef struct AnimationEvalContext AnimationEvalContext |
| typedef enum eAnimData_Recalc eAnimData_Recalc |
Definition at line 194 of file BKE_animsys.h.
Definition at line 197 of file BKE_animsys.h.
| typedef struct NlaKeyframingContext NlaKeyframingContext |
Definition at line 206 of file BKE_animsys.h.
| enum eAnimData_Recalc |
| Enumerator | |
|---|---|
| ADT_RECALC_DRIVERS | |
| ADT_RECALC_ANIM | |
| ADT_RECALC_ALL | |
Definition at line 236 of file BKE_animsys.h.
| void animsys_evaluate_action | ( | struct PointerRNA * | ptr, |
| struct bAction * | act, | ||
| const struct AnimationEvalContext * | anim_eval_context, | ||
| bool | flush_to_original | ||
| ) |
Referenced by BKE_pose_apply_action().
| void animsys_evaluate_action_group | ( | struct PointerRNA * | ptr, |
| struct bAction * | act, | ||
| struct bActionGroup * | agrp, | ||
| const struct AnimationEvalContext * | anim_eval_context | ||
| ) |
Referenced by poselib_apply_pose(), and what_does_obaction().
| void BKE_action_fix_paths_rename | ( | struct ID * | owner_id, |
| struct bAction * | act, | ||
| const char * | prefix, | ||
| const char * | oldName, | ||
| const char * | newName, | ||
| int | oldSubscript, | ||
| int | newSubscript, | ||
| bool | verify_paths | ||
| ) |
Definition at line 1032 of file anim_data.c.
References BLI_array_alloca, BLI_sprintfN(), BLI_str_escape(), bAction::curves, ELEM, fcurves_path_rename_fix(), MEM_freeN, and NULL.
Referenced by constraint_bone_name_fix(), and joined_armature_fix_links_constraints().
| char* BKE_animdata_driver_path_hack | ( | bContext * | C, |
| PointerRNA * | ptr, | ||
| PropertyRNA * | prop, | ||
| char * | base_path | ||
| ) |
Temporary wrapper for driver operators for buttons to make it easier to create such drivers by rerouting all paths through the active object instead so that they will get picked up by the dependency system.
| C | Context pointer - for getting active data | |
| [in,out] | ptr | RNA pointer for property's data-block. May be modified as result of path remapping. |
| prop | RNA definition of property to add for |
Definition at line 732 of file anim_data.c.
References blender::compositor::area(), C, CTX_data_active_object(), CTX_wm_area(), PointerRNA::data, Object::id, PointerRNA::owner_id, ptr, RNA_path_from_ID_to_property(), RNA_pointer_create(), SPACE_PROPERTIES, and PointerRNA::type.
Referenced by add_driver_button_invoke(), add_driver_button_none(), BKE_fcurve_find_by_rna_context_ui(), copy_driver_button_exec(), driverdropper_sample(), paste_driver_button_exec(), and remove_driver_button_exec().
| bool BKE_animdata_fix_paths_remove | ( | struct ID * | id, |
| const char * | path | ||
| ) |
Definition at line 1188 of file anim_data.c.
References AnimData::action, IdAdtTemplate::adt, bAction::curves, AnimData::drivers, fcurves_path_remove_fix(), id_can_have_animdata(), LISTBASE_FOREACH, AnimData::nla_tracks, nlastrips_path_remove_fix(), NULL, and AnimData::tmpact.
Referenced by clip_delete_plane_track(), clip_delete_track(), and nodeRemoveNode().
| void BKE_animdata_fix_paths_rename | ( | struct ID * | owner_id, |
| struct AnimData * | adt, | ||
| struct ID * | ref_id, | ||
| const char * | prefix, | ||
| const char * | oldName, | ||
| const char * | newName, | ||
| int | oldSubscript, | ||
| int | newSubscript, | ||
| bool | verify_paths | ||
| ) |
Definition at line 1079 of file anim_data.c.
References AnimData::action, BLI_array_alloca, BLI_sprintfN(), BLI_str_escape(), bAction::curves, DEG_id_tag_update(), AnimData::drivers, drivers_path_rename_fix(), ELEM, fcurves_path_rename_fix(), ListBase::first, bAction::id, ID_RECALC_COPY_ON_WRITE, MEM_freeN, NlaTrack::next, AnimData::nla_tracks, nlastrips_path_rename_fix(), NULL, NlaTrack::strips, and AnimData::tmpact.
Referenced by SEQ_dupe_animdata(), and texture_slot_move_exec().
| void BKE_animdata_fix_paths_rename_all | ( | struct ID * | ref_id, |
| const char * | prefix, | ||
| const char * | oldName, | ||
| const char * | newName | ||
| ) |
Definition at line 1414 of file anim_data.c.
References BKE_animdata_fix_paths_rename_all_ex(), and G.
Referenced by BKE_mask_layer_rename(), BKE_view_layer_rename(), and ED_armature_bone_rename().
| void BKE_animdata_fix_paths_rename_all_ex | ( | struct Main * | bmain, |
| struct ID * | ref_id, | ||
| const char * | prefix, | ||
| const char * | oldName, | ||
| const char * | newName, | ||
| const int | oldSubscript, | ||
| const int | newSubscript, | ||
| const bool | verify_paths | ||
| ) |
Definition at line 1428 of file anim_data.c.
References Main::armatures, Main::cachefiles, Main::cameras, Main::curves, ListBase::first, Main::gpencils, Main::hairs, id, Main::lattices, Main::lights, Main::linestyles, Main::masks, Main::materials, Main::meshes, Main::metaballs, Main::movieclips, Main::nodetrees, Main::objects, Main::particles, Main::pointclouds, RENAMEFIX_ANIM_IDS, RENAMEFIX_ANIM_NODETREE_IDS, Main::scenes, Main::shapekeys, Main::simulations, Main::speakers, Main::textures, Main::volumes, and Main::worlds.
Referenced by BKE_animdata_fix_paths_rename_all(), and do_versions_after_linking_290().
| void BKE_animdata_main_cb | ( | struct Main * | bmain, |
| ID_AnimData_Edit_Callback | func, | ||
| void * | user_data | ||
| ) |
Definition at line 1300 of file anim_data.c.
References ANIMDATA_IDS_CB, ANIMDATA_NODETREE_IDS_CB, Main::armatures, Main::cachefiles, Main::cameras, Main::curves, ListBase::first, Main::gpencils, Main::hairs, id, Main::lattices, Main::lights, Main::linestyles, Main::masks, Main::materials, Main::meshes, Main::metaballs, Main::movieclips, Main::nodetrees, Main::objects, Main::palettes, Main::particles, Main::pointclouds, Main::scenes, Main::shapekeys, Main::simulations, Main::speakers, Main::textures, Main::volumes, and Main::worlds.
Referenced by BKE_fcurves_main_cb(), and blo_do_versions_280().
| void BKE_animdata_transfer_by_basepath | ( | struct Main * | bmain, |
| struct ID * | srcID, | ||
| struct ID * | dstID, | ||
| struct ListBase * | basepaths | ||
| ) |
Definition at line 656 of file anim_data.c.
References AnimData::action, action_move_fcurves_by_basepath(), animdata_move_drivers_by_basepath(), BKE_action_add(), BKE_animdata_action_ensure_idroot(), BKE_animdata_add_id(), BKE_animdata_from_id(), CLOG_ERROR, CLOG_WARN, DEG_id_tag_update(), AnimData::drivers, ELEM, ListBase::first, G, G_DEBUG, bAction::id, ID_RECALC_COPY_ON_WRITE, id_us_min(), LISTBASE_FOREACH, LOG, Main::name, ID::name, and NULL.
Referenced by node_group_make_insert_selected(), node_group_separate_selected(), and node_group_ungroup().
Definition at line 3038 of file anim_sys.c.
References ADT_RECALC_ANIM, BKE_animdata_from_id(), BKE_animsys_eval_context_construct(), BKE_animsys_evaluate_animdata(), DEG_debug_print_eval_time(), DEG_get_ctime(), DEG_is_active(), depsgraph, id, and ID::name.
Referenced by blender::deg::DepsgraphNodeBuilder::build_animdata().
| AnimationEvalContext BKE_animsys_eval_context_construct | ( | struct Depsgraph * | depsgraph, |
| float | eval_time | ||
| ) |
Definition at line 637 of file anim_sys.c.
References AnimationEvalContext::depsgraph, and depsgraph.
Referenced by achannel_setting_slider_cb(), achannel_setting_slider_nla_curve_cb(), achannel_setting_slider_shapekey_cb(), actcon_get_tarmat(), ANIM_apply_keyingset(), autokeyframe_object(), autokeyframe_pose(), BKE_animsys_eval_animdata(), BKE_animsys_eval_context_construct_at(), BKE_animsys_eval_driver(), BKE_animsys_evaluate_all_animation(), BKE_object_modifier_update_subframe(), BKE_object_where_is_calc_time(), ED_autokeyframe_property(), gpencil_stroke_path_animation(), gpencil_stroke_path_animation_add_keyframes(), insert_action_keys(), insert_graph_keys(), insert_key_button_exec(), ocean_bake_exec(), particle_system_update(), pose_clear_user_transforms_exec(), poselib_preview_apply(), pyrna_struct_keyframe_insert(), RE_RenderAnim(), seq_prefetch_anim_eval_context(), seq_render_mask(), UI_block_end_ex(), and UI_context_update_anim_flag().
| AnimationEvalContext BKE_animsys_eval_context_construct_at | ( | const AnimationEvalContext * | anim_eval_context, |
| float | eval_time | ||
| ) |
Definition at line 647 of file anim_sys.c.
References BKE_animsys_eval_context_construct(), and AnimationEvalContext::depsgraph.
Referenced by achannel_setting_slider_shapekey_cb(), nla_time_remap(), nlastrip_evaluate_meta(), nlastrips_ctime_get_strip(), poselib_apply_pose(), and ui_but_anim_flag().
| void BKE_animsys_eval_driver | ( | struct Depsgraph * | depsgraph, |
| struct ID * | id, | ||
| int | driver_index, | ||
| struct FCurve * | fcu_orig | ||
| ) |
Definition at line 3072 of file anim_sys.c.
References animsys_write_orig_anim_rna(), FCurve::array_index, BKE_animdata_from_id(), BKE_animsys_eval_context_construct(), BKE_animsys_rna_path_resolve(), BKE_animsys_write_to_rna_path(), BLI_assert, BLI_findlink(), calculate_fcurve(), CLOG_WARN, DriverVar::curval, ChannelDriver::curval, FCurve::curval, DEG_debug_print_eval_subdata_index(), DEG_get_ctime(), DEG_is_active(), depsgraph, FCurve::driver, AnimData::driver_array, DRIVER_FLAG_INVALID, AnimData::drivers, FCURVE_DISABLED, FCURVE_MUTED, ListBase::first, DriverTarget::flag, DriverVar::flag, ChannelDriver::flag, FCurve::flag, id, LOG, MAX_DRIVER_TARGETS, ID::name, DriverVar::next, NULL, RNA_id_pointer_create(), FCurve::rna_path, DriverVar::targets, and ChannelDriver::variables.
Referenced by blender::deg::DepsgraphNodeBuilder::build_driver().
| void BKE_animsys_evaluate_all_animation | ( | struct Main * | main, |
| struct Depsgraph * | depsgraph, | ||
| float | ctime | ||
| ) |
Definition at line 2887 of file anim_sys.c.
References ADT_RECALC_ANIM, BKE_animsys_eval_context_construct(), BLI_listbase_is_empty(), DEG_is_active(), depsgraph, EVAL_ANIM_IDS, EVAL_ANIM_NODETREE_IDS, G, G_DEBUG, id, and main().
Referenced by do_render_strip_seqbase().
| void BKE_animsys_evaluate_animdata | ( | struct ID * | id, |
| struct AnimData * | adt, | ||
| const struct AnimationEvalContext * | anim_eval_context, | ||
| eAnimData_Recalc | recalc, | ||
| const bool | flush_to_original | ||
| ) |
| char* BKE_animsys_fix_rna_path_rename | ( | struct ID * | owner_id, |
| char * | old_path, | ||
| const char * | prefix, | ||
| const char * | oldName, | ||
| const char * | newName, | ||
| int | oldSubscript, | ||
| int | newSubscript, | ||
| bool | verify_paths | ||
| ) |
Definition at line 969 of file anim_data.c.
References BLI_array_alloca, BLI_sprintfN(), BLI_str_escape(), CLOG_WARN, ELEM, G, G_DEBUG, LOG, MEM_freeN, NULL, result, and rna_path_rename_fix().
Referenced by gpencil_joined_fix_animdata_cb(), and joined_armature_fix_animdata_cb().
| void BKE_animsys_free_nla_keyframing_context_cache | ( | struct ListBase * | cache | ) |
Free all cached contexts from the list.
Definition at line 2756 of file anim_sys.c.
References BLI_freelistN(), LISTBASE_FOREACH, MEM_SAFE_FREE, and nlaeval_free().
Referenced by achannel_setting_slider_cb(), achannel_setting_slider_shapekey_cb(), ANIM_apply_keyingset(), autokeyframe_object(), autokeyframe_pose(), insert_action_keys(), insert_graph_keys(), and insert_keyframe().
| struct NlaKeyframingContext* BKE_animsys_get_nla_keyframing_context | ( | struct ListBase * | cache, |
| struct PointerRNA * | ptr, | ||
| struct AnimData * | adt, | ||
| const struct AnimationEvalContext * | anim_eval_context | ||
| ) |
Referenced by achannel_setting_slider_cb(), achannel_setting_slider_shapekey_cb(), and nla_time_remap().
| bool BKE_animsys_nla_remap_keyframe_values | ( | struct NlaKeyframingContext * | context, |
| struct PointerRNA * | prop_ptr, | ||
| struct PropertyRNA * | prop, | ||
| float * | values, | ||
| int | count, | ||
| int | index, | ||
| bool * | r_force_all | ||
| ) |
Apply correction from the NLA context to the values about to be keyframed.
| context | Context to use (may be NULL). | |
| prop_ptr | Property about to be keyframed. | |
| [in,out] | values | Array of property values to adjust. |
| count | Number of values in the array. | |
| index | Index of the element about to be updated, or -1. | |
| [out] | r_force_all | Set to true if all channels must be inserted. May be NULL. |
Remove lower NLA stack effects.
Using the tweak strip's blended result and the lower snapshot value, we can solve for the tweak strip value it must evaluate to.
Definition at line 2648 of file anim_sys.c.
References NlaEvalChannel::base_snapshot, BLI_assert, context, count, ELEM, NlaEvalData::eval_snapshot, NlaEvalChannelSnapshot::length, NlaEvalChannel::mix_mode, NEC_MIX_QUATERNION, nla_blend_get_inverted_strip_value(), nla_combine_get_inverted_strip_value(), nla_combine_quaternion_get_inverted_strip_values(), nlaeval_snapshot_find_channel(), nlaevalchan_verify_key(), NLASTRIP_MODE_COMBINE, NLASTRIP_MODE_REPLACE, NULL, NlaEvalChannelKey::ptr, and NlaEvalChannelSnapshot::values.
Referenced by get_keyframe_values().
| bool BKE_animsys_read_from_rna_path | ( | struct PathResolvedRNA * | anim_rna, |
| float * | r_value | ||
| ) |
Definition at line 438 of file anim_sys.c.
References BLI_assert, float(), NULL, PointerRNA::owner_id, PathResolvedRNA::prop, PROP_BOOLEAN, PROP_ENUM, PROP_FLOAT, PathResolvedRNA::prop_index, PROP_INT, PathResolvedRNA::ptr, ptr, RNA_property_animateable(), RNA_property_boolean_get(), RNA_property_boolean_get_index(), RNA_property_enum_get(), RNA_property_float_get(), RNA_property_float_get_index(), RNA_property_int_get(), RNA_property_int_get_index(), and RNA_property_type().
Referenced by BKE_animsys_write_to_rna_path().
| bool BKE_animsys_rna_path_resolve | ( | struct PointerRNA * | ptr, |
| const char * | rna_path, | ||
| const int | array_index, | ||
| struct PathResolvedRNA * | r_result | ||
| ) |
Definition at line 389 of file anim_sys.c.
References CLOG_WARN, G, G_DEBUG, LOG, ID::name, NULL, PointerRNA::owner_id, PathResolvedRNA::prop, PathResolvedRNA::prop_index, PathResolvedRNA::ptr, ptr, RNA_path_resolve_property(), RNA_property_animateable(), and RNA_property_array_length().
Referenced by animsys_evaluate_action_group(), animsys_evaluate_drivers(), animsys_evaluate_fcurves(), animsys_evaluate_overrides(), animsys_write_orig_anim_rna(), BKE_animsys_eval_driver(), and blender::deg::AnimationBackup::restore_to_id().
| void BKE_animsys_update_driver_array | ( | struct ID * | id | ) |
Definition at line 3052 of file anim_sys.c.
References BKE_animdata_from_id(), BLI_assert, BLI_listbase_count(), AnimData::driver_array, AnimData::drivers, ListBase::first, LISTBASE_FOREACH, and MEM_mallocN.
| bool BKE_animsys_write_to_rna_path | ( | struct PathResolvedRNA * | anim_rna, |
| const float | value | ||
| ) |
Definition at line 501 of file anim_sys.c.
References ANIMSYS_FLOAT_AS_BOOL, BKE_animsys_read_from_rna_path(), BLI_assert, NULL, PointerRNA::owner_id, PathResolvedRNA::prop, PROP_BOOLEAN, PROP_ENUM, PROP_FLOAT, PathResolvedRNA::prop_index, PROP_INT, PathResolvedRNA::ptr, ptr, RNA_property_animateable(), RNA_property_boolean_set(), RNA_property_boolean_set_index(), RNA_property_enum_set(), RNA_property_float_clamp(), RNA_property_float_set(), RNA_property_float_set_index(), RNA_property_int_clamp(), RNA_property_int_set(), RNA_property_int_set_index(), and RNA_property_type().
Referenced by animsys_evaluate_action_group(), animsys_evaluate_drivers(), animsys_evaluate_fcurves(), animsys_evaluate_overrides(), animsys_write_orig_anim_rna(), BKE_animsys_eval_driver(), nladata_flush_channels(), and blender::deg::AnimationBackup::restore_to_id().
| void BKE_fcurves_id_cb | ( | struct ID * | id, |
| ID_FCurve_Edit_Callback | func, | ||
| void * | user_data | ||
| ) |
Definition at line 1278 of file anim_data.c.
References adt_apply_all_fcurves_cb(), BKE_animdata_from_id(), NULL, and user_data.
Referenced by do_versions_after_linking_280(), blender::deg::AnimationBackup::init_from_id(), blender::deg::AnimatedPropertyStorage::initializeFromID(), and update_mapping_node_inputs_and_properties().
| void BKE_fcurves_main_cb | ( | struct Main * | bmain, |
| ID_FCurve_Edit_Callback | func, | ||
| void * | user_data | ||
| ) |
Definition at line 1288 of file anim_data.c.
References adt_apply_all_fcurves_cb(), BKE_animdata_main_cb(), and user_data.
Referenced by do_versions_after_linking_270(), ED_armature_join_objects_exec(), and ED_gpencil_join_objects_exec().
| struct KeyingSet* BKE_keyingset_add | ( | struct ListBase * | list, |
| const char | idname[], | ||
| const char | name[], | ||
| short | flag, | ||
| short | keyingflag | ||
| ) |
Definition at line 144 of file anim_sys.c.
References BLI_addtail(), BLI_strncpy(), BLI_uniquename(), DATA_, KeyingSet::flag, KeyingSet::idname, KeyingSet::keyingflag, KeyingSet::keyingoverride, MEM_callocN, and KeyingSet::name.
Referenced by add_default_keyingset_exec(), add_keyingset_button_exec(), ANIM_keyingset_info_register(), and verify_active_keyingset().
| struct KS_Path* BKE_keyingset_add_path | ( | struct KeyingSet * | ks, |
| struct ID * | id, | ||
| const char | group_name[], | ||
| const char | rna_path[], | ||
| int | array_index, | ||
| short | flag, | ||
| short | groupmode | ||
| ) |
Definition at line 178 of file anim_sys.c.
References KS_Path::array_index, BKE_keyingset_find_path(), BLI_addtail(), BLI_strdup(), BLI_strncpy(), CLOG_ERROR, ELEM, KS_Path::flag, G, G_DEBUG, KS_Path::group, KS_Path::groupmode, GS, id, KS_Path::id, KS_Path::idtype, LOG, MEM_callocN, ID::name, NULL, KeyingSet::paths, and KS_Path::rna_path.
Referenced by add_keyingset_button_exec(), and do_outliner_keyingset_editop().
| struct KS_Path* BKE_keyingset_find_path | ( | struct KeyingSet * | ks, |
| struct ID * | id, | ||
| const char | group_name[], | ||
| const char | rna_path[], | ||
| int | array_index, | ||
| int | group_mode | ||
| ) |
Referenced by do_outliner_keyingset_editop(), and remove_keyingset_button_exec().
| void BKE_keyingset_free | ( | struct KeyingSet * | ks | ) |
Definition at line 287 of file anim_sys.c.
References BKE_keyingset_free_path(), ListBase::first, KS_Path::next, NULL, and KeyingSet::paths.
Referenced by ANIM_keyingset_info_unregister(), ANIM_validate_keyingset(), BKE_keyingsets_free(), and remove_active_keyingset_exec().
Definition at line 242 of file anim_sys.c.
References BLI_freelinkN(), ELEM, MEM_freeN, NULL, KeyingSet::paths, and KS_Path::rna_path.
Referenced by BKE_keyingset_free(), do_outliner_keyingset_editop(), remove_active_ks_path_exec(), and remove_keyingset_button_exec().
| void BKE_keyingsets_blend_read_data | ( | struct BlendDataReader * | reader, |
| struct ListBase * | list | ||
| ) |
Definition at line 341 of file anim_sys.c.
References BLO_read_data_address, BLO_read_list(), LISTBASE_FOREACH, and KeyingSet::paths.
Referenced by scene_blend_read_data().
| void BKE_keyingsets_blend_read_expand | ( | struct BlendExpander * | expander, |
| struct ListBase * | list | ||
| ) |
Definition at line 363 of file anim_sys.c.
References BLO_expand, LISTBASE_FOREACH, and KeyingSet::paths.
Referenced by scene_blend_read_expand().
| void BKE_keyingsets_blend_read_lib | ( | struct BlendLibReader * | reader, |
| struct ID * | id, | ||
| struct ListBase * | list | ||
| ) |
Definition at line 354 of file anim_sys.c.
References BLO_read_id_address, id, Library::id, ID::lib, LISTBASE_FOREACH, and KeyingSet::paths.
Referenced by scene_blend_read_lib().
| void BKE_keyingsets_blend_write | ( | struct BlendWriter * | writer, |
| struct ListBase * | list | ||
| ) |
Definition at line 323 of file anim_sys.c.
References BLO_write_string(), BLO_write_struct, LISTBASE_FOREACH, and KeyingSet::paths.
Referenced by scene_blend_write().
Referenced by scene_copy_data().
| void BKE_keyingsets_foreach_id | ( | struct LibraryForeachIDData * | data, |
| const struct ListBase * | keyingsets | ||
| ) |
Process the ID pointers inside a scene's keyingsets, in see BKE_lib_query.h for details.
Referenced by scene_foreach_id().
| void BKE_keyingsets_free | ( | struct ListBase * | list | ) |
Definition at line 304 of file anim_sys.c.
References BKE_keyingset_free(), BLI_freelinkN(), ListBase::first, KeyingSet::next, and NULL.
Referenced by ANIM_keyingset_infos_exit(), and scene_free_data().