Fix #146484: Stack overflow due to recursive strip rendering

When effect of adjustment layer strip is moved below the adjustment
layer, this causes infinite loop in strip rendering. Same happens when
you use multicam strip and set source channel to one of its effects.

This is fixed by passing `SeqRenderState` to the effects. If any strip
renders "seqbase" pointer of strip is stored in set in the render state
struct. If the pointer exists in this set, function returns without
rendering anything. In other words, The strip must never render itself.

Pull Request: https://projects.blender.org/blender/blender/pulls/146624
This commit is contained in:
Richard Antalik
2025-09-25 08:48:56 +02:00
committed by Richard Antalik
parent 84559f8bd4
commit 97297bd167
17 changed files with 59 additions and 17 deletions

Binary file not shown.

Binary file not shown.