Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2021-09-02 04:29:32 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-09-02 04:29:32 +0300
commit6c177838f30a171c6b69b66d885cdefd01669a33 (patch)
tree3c68d788c2c6470d5af60196cfadb11212a81e73 /source/blender/makesrna/intern/rna_sequencer_api.c
parentbaee000001f6a840f7aa15ad3834afc6639ef0f2 (diff)
Cleanup: remove redundant alloc argument to SEQ_editing_get
Callers that require lazy initialization can use SEQ_editing_ensure.
Diffstat (limited to 'source/blender/makesrna/intern/rna_sequencer_api.c')
-rw-r--r--source/blender/makesrna/intern/rna_sequencer_api.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_sequencer_api.c b/source/blender/makesrna/intern/rna_sequencer_api.c
index 7ddbf450e6a..a0564d3435b 100644
--- a/source/blender/makesrna/intern/rna_sequencer_api.c
+++ b/source/blender/makesrna/intern/rna_sequencer_api.c
@@ -105,7 +105,7 @@ static Sequence *rna_Sequence_split(
ID *id, Sequence *seq, Main *bmain, ReportList *reports, int frame, int split_method)
{
Scene *scene = (Scene *)id;
- Editing *ed = SEQ_editing_get(scene, false);
+ Editing *ed = SEQ_editing_get(scene);
ListBase *seqbase = SEQ_get_seqbase_by_seq(&ed->seqbase, seq);
const char *error_msg = NULL;
@@ -127,7 +127,7 @@ static Sequence *rna_Sequence_split(
static Sequence *rna_Sequence_parent_meta(ID *id, Sequence *seq_self)
{
Scene *scene = (Scene *)id;
- Editing *ed = SEQ_editing_get(scene, false);
+ Editing *ed = SEQ_editing_get(scene);
return SEQ_find_metastrip_by_sequence(&ed->seqbase, NULL, seq_self);
}