|
Blender
V3.3
|
#include <string.h>#include "DNA_anim_types.h"#include "DNA_scene_types.h"#include "DNA_sequence_types.h"#include "BKE_animsys.h"#include "BKE_fcurve.h"#include "BLI_ghash.h"#include "BLI_listbase.h"#include "BLI_string.h"#include "DEG_depsgraph.h"#include "SEQ_animation.h"Go to the source code of this file.
Macros | |
| #define | SEQ_RNAPATH_MAXSTR ((30 + 2 + (SEQ_NAME_MAXSTR * 2) + 2) + 1) |
Functions | |
| static bool | seq_animation_curves_exist (Scene *scene) |
| static size_t | sequencer_rna_path_prefix (char str[SEQ_RNAPATH_MAXSTR], const char *name) |
| GSet * | SEQ_fcurves_by_strip_get (const Sequence *seq, ListBase *fcurve_base) |
| void | SEQ_offset_animdata (Scene *scene, Sequence *seq, int ofs) |
| void | SEQ_free_animdata (Scene *scene, Sequence *seq) |
| void | SEQ_animation_backup_original (Scene *scene, ListBase *list) |
| void | SEQ_animation_restore_original (Scene *scene, ListBase *list) |
| void | SEQ_animation_duplicate (Scene *scene, Sequence *seq, ListBase *list) |
| #define SEQ_RNAPATH_MAXSTR ((30 + 2 + (SEQ_NAME_MAXSTR * 2) + 2) + 1) |
Definition at line 35 of file animation.c.
Move all F-Curves from scene to list.
Definition at line 118 of file animation.c.
References AnimData::action, Scene::adt, BLI_listbase_is_empty(), BLI_movelisttolist(), bAction::curves, NULL, and scene.
Referenced by SEQ_edit_strip_split(), sequencer_add_duplicate_exec(), and sequencer_paste_exec().
Definition at line 25 of file animation.c.
References AnimData::action, Scene::adt, BLI_listbase_is_empty(), bAction::curves, NULL, and scene.
Referenced by SEQ_free_animdata(), and SEQ_offset_animdata().
| void SEQ_animation_duplicate | ( | struct Scene * | scene, |
| struct Sequence * | seq, | ||
| struct ListBase * | list | ||
| ) |
Duplicate F-Curves used by seq from list to scene.
Definition at line 137 of file animation.c.
References AnimData::action, Scene::adt, BKE_fcurve_copy(), BLI_addtail(), BLI_gset_free(), BLI_listbase_is_empty(), bAction::curves, GSET_FOREACH_BEGIN, GSET_FOREACH_END, LISTBASE_FOREACH, NULL, scene, SEQ_fcurves_by_strip_get(), SEQ_TYPE_META, Sequence::seqbase, and Sequence::type.
Referenced by SEQ_edit_strip_split(), and sequencer_add_duplicate_exec().
Move all F-Curves from list to scene.
Definition at line 128 of file animation.c.
References AnimData::action, Scene::adt, BLI_listbase_is_empty(), BLI_movelisttolist(), bAction::curves, NULL, and scene.
Referenced by SEQ_edit_strip_split(), sequencer_add_duplicate_exec(), and sequencer_paste_exec().
Definition at line 46 of file animation.c.
References BLI_gset_add(), BLI_gset_ptr_new(), LISTBASE_FOREACH, Sequence::name, NULL, SEQ_RNAPATH_MAXSTR, sequencer_rna_path_prefix(), and STREQLEN.
Referenced by SEQ_animation_duplicate(), SEQ_free_animdata(), SEQ_offset_animdata(), and sequencer_copy_animation().
Definition at line 100 of file animation.c.
References AnimData::action, Scene::adt, BKE_fcurve_free(), BLI_gset_free(), BLI_remlink(), bAction::curves, GSET_FOREACH_BEGIN, GSET_FOREACH_END, NULL, scene, seq_animation_curves_exist(), and SEQ_fcurves_by_strip_get().
Referenced by SEQ_edit_remove_flagged_sequences().
Definition at line 67 of file animation.c.
References AnimData::action, Scene::adt, BLI_gset_free(), bAction::curves, DEG_id_tag_update(), GSET_FOREACH_BEGIN, GSET_FOREACH_END, bAction::id, ID_RECALC_ANIMATION, NULL, scene, seq_animation_curves_exist(), SEQ_fcurves_by_strip_get(), FPoint::vec, and BezTriple::vec.
Referenced by flushTransSeq(), SEQ_transform_seqbase_shuffle_time(), SEQ_transform_translate_sequence(), sequencer_reassign_inputs_exec(), and sequencer_snap_exec().
|
static |
Definition at line 37 of file animation.c.
References BLI_snprintf_rlen(), BLI_str_escape(), SEQ_NAME_MAXSTR, SEQ_RNAPATH_MAXSTR, and str.
Referenced by SEQ_fcurves_by_strip_get().