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:
authorRichard Antalik <richardantalik@gmail.com>2022-05-02 19:20:56 +0300
committerRichard Antalik <richardantalik@gmail.com>2022-05-03 09:47:27 +0300
commit38a4d96a9061808677d3bc770f1482766fe3f3ed (patch)
treefab6e074e05cf989298cb9e360ba7393e9e59440 /source/blender/sequencer/SEQ_channels.h
parente4e5d7781e9946cd39d44d846b7435406a6e9229 (diff)
Fix T97507: Crash when deleting adjustment layer
Issue was not properly fixed in 3cef9ebaf81 due to oversight. `SEQ_get_channels_by_seq` returned pointer to `seqbase` instead of `channels`.
Diffstat (limited to 'source/blender/sequencer/SEQ_channels.h')
-rw-r--r--source/blender/sequencer/SEQ_channels.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/sequencer/SEQ_channels.h b/source/blender/sequencer/SEQ_channels.h
index 9436d5dfa32..dcfdb933940 100644
--- a/source/blender/sequencer/SEQ_channels.h
+++ b/source/blender/sequencer/SEQ_channels.h
@@ -29,7 +29,9 @@ char *SEQ_channel_name_get(struct ListBase *channels, const int channel_index);
bool SEQ_channel_is_locked(const struct SeqTimelineChannel *channel);
bool SEQ_channel_is_muted(const struct SeqTimelineChannel *channel);
int SEQ_channel_index_get(const struct SeqTimelineChannel *channel);
-ListBase *SEQ_get_channels_by_seq(struct ListBase *seqbase, const struct Sequence *seq);
+ListBase *SEQ_get_channels_by_seq(struct ListBase *seqbase,
+ struct ListBase *channels,
+ const struct Sequence *seq);
#ifdef __cplusplus
}