Changeset View
Changeset View
Standalone View
Standalone View
source/blender/sequencer/intern/sequencer.c
| Show First 20 Lines • Show All 321 Lines • ▼ Show 20 Lines | |||||
| } | } | ||||
| void SEQ_tool_settings_fit_method_set(Scene *scene, eSeqImageFitMethod fit_method) | void SEQ_tool_settings_fit_method_set(Scene *scene, eSeqImageFitMethod fit_method) | ||||
| { | { | ||||
| SequencerToolSettings *tool_settings = scene->toolsettings->sequencer_tool_settings; | SequencerToolSettings *tool_settings = scene->toolsettings->sequencer_tool_settings; | ||||
| tool_settings->fit_method = fit_method; | tool_settings->fit_method = fit_method; | ||||
| } | } | ||||
| ListBase *SEQ_active_seqbase_get(const Editing *ed) | |||||
HooglyBoogly: The naming here is a little confusing on first glance, "active_seqbase" sort of implies that… | |||||
ISSAuthorUnsubmitted Done Inline ActionsArgument indeed can have multiple seqbases. Some are in meta strips. seqbasep is pointer to "active" - you can switch in/out meta by pressing tab in timeline. Thanks for pointing this, I will add API docs, as I should for every new API function... ISS: Argument indeed can have multiple seqbases. Some are in meta strips. `seqbasep` is pointer to… | |||||
| { | |||||
| if (ed == NULL) { | |||||
| return NULL; | |||||
| } | |||||
| return ed->seqbasep; | |||||
| } | |||||
| /** \} */ | /** \} */ | ||||
| /* -------------------------------------------------------------------- */ | /* -------------------------------------------------------------------- */ | ||||
| /** \name Duplicate Functions | /** \name Duplicate Functions | ||||
| * \{ */ | * \{ */ | ||||
| static Sequence *seq_dupli(const Scene *scene_src, | static Sequence *seq_dupli(const Scene *scene_src, | ||||
| Scene *scene_dst, | Scene *scene_dst, | ||||
| ListBase *new_seq_list, | ListBase *new_seq_list, | ||||
| ▲ Show 20 Lines • Show All 308 Lines • Show Last 20 Lines | |||||
The naming here is a little confusing on first glance, "active_seqbase" sort of implies that the argument would have multiple seqbases and it will return the active one.
A name that might make more sense is SEQ_editing_seqbase_get, though I understand the naming in this whole area is changing a lot at the moment.