Changeset View
Changeset View
Standalone View
Standalone View
source/blender/sequencer/intern/sequencer.c
| Show First 20 Lines • Show All 138 Lines • ▼ Show 20 Lines | Sequence *SEQ_sequence_alloc(ListBase *lb, int timeline_frame, int machine, int type) | ||||
| seq->volume = 1.0f; | seq->volume = 1.0f; | ||||
| seq->pitch = 1.0f; | seq->pitch = 1.0f; | ||||
| seq->scene_sound = NULL; | seq->scene_sound = NULL; | ||||
| seq->type = type; | seq->type = type; | ||||
| seq->strip = seq_strip_alloc(type); | seq->strip = seq_strip_alloc(type); | ||||
| seq->stereo3d_format = MEM_callocN(sizeof(Stereo3dFormat), "Sequence Stereo Format"); | seq->stereo3d_format = MEM_callocN(sizeof(Stereo3dFormat), "Sequence Stereo Format"); | ||||
| seq->color_tag = SEQUENCE_COLOR_NONE; | |||||
| SEQ_relations_session_uuid_generate(seq); | SEQ_relations_session_uuid_generate(seq); | ||||
| return seq; | return seq; | ||||
| } | } | ||||
| /* only give option to skip cache locally (static func) */ | /* only give option to skip cache locally (static func) */ | ||||
| static void seq_sequence_free_ex(Scene *scene, | static void seq_sequence_free_ex(Scene *scene, | ||||
| Sequence *seq, | Sequence *seq, | ||||
| ▲ Show 20 Lines • Show All 929 Lines • Show Last 20 Lines | |||||