Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_sequencer_api.c
| Show First 20 Lines • Show All 53 Lines • ▼ Show 20 Lines | |||||
| # include "IMB_imbuf_types.h" | # include "IMB_imbuf_types.h" | ||||
| # include "SEQ_add.h" | # include "SEQ_add.h" | ||||
| # include "SEQ_edit.h" | # include "SEQ_edit.h" | ||||
| # include "SEQ_effects.h" | # include "SEQ_effects.h" | ||||
| # include "SEQ_relations.h" | # include "SEQ_relations.h" | ||||
| # include "SEQ_render.h" | # include "SEQ_render.h" | ||||
| # include "SEQ_sequencer.h" | # include "SEQ_sequencer.h" | ||||
| # include "SEQ_time.h" | |||||
| # include "WM_api.h" | # include "WM_api.h" | ||||
| static void rna_Sequence_update_rnafunc(ID *id, Sequence *self, bool do_data) | static void rna_Sequence_update_rnafunc(ID *id, Sequence *self, bool do_data) | ||||
| { | { | ||||
| Scene *scene = (Scene *)id; | Scene *scene = (Scene *)id; | ||||
| Editing *ed = SEQ_editing_get(scene); | Editing *ed = SEQ_editing_get(scene); | ||||
| ListBase *seqbase = SEQ_get_seqbase_by_seq(&ed->seqbase, self); | ListBase *seqbase = SEQ_get_seqbase_by_seq(&ed->seqbase, self); | ||||
| if (do_data) { | if (do_data) { | ||||
| SEQ_relations_update_changed_seq_and_deps(scene, self, true, true); | SEQ_time_update_recursive(scene, self); | ||||
| // new_tstripdata(self); /* need 2.6x version of this. */ | // new_tstripdata(self); /* need 2.6x version of this. */ | ||||
| } | } | ||||
| SEQ_time_update_sequence(scene, seqbase, self); | SEQ_time_update_sequence(scene, seqbase, self); | ||||
| } | } | ||||
| static void rna_Sequence_swap_internal(Sequence *seq_self, | static void rna_Sequence_swap_internal(Sequence *seq_self, | ||||
| ReportList *reports, | ReportList *reports, | ||||
| ▲ Show 20 Lines • Show All 986 Lines • Show Last 20 Lines | |||||