Fix (unreported): Set Color Tag broken when inside meta strip

When editing inside a meta strip, running the "Set Color Tag" operator
would set the color tag of the top-most meta strip, rather than that of
the intended strip.

Pull Request: https://projects.blender.org/blender/blender/pulls/115950
This commit is contained in:
ok_what
2023-12-09 19:37:08 +01:00
committed by Richard Antalik
parent 15cff1fddb
commit 5e07e9f7e2

View File

@@ -3343,7 +3343,7 @@ static int sequencer_strip_color_tag_set_exec(bContext *C, wmOperator *op)
const Editing *ed = SEQ_editing_get(scene);
const short color_tag = RNA_enum_get(op->ptr, "color");
LISTBASE_FOREACH (Sequence *, seq, &ed->seqbase) {
LISTBASE_FOREACH (Sequence *, seq, ed->seqbasep) {
if (seq->flag & SELECT) {
seq->color_tag = color_tag;
}