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:
committed by
Richard Antalik
parent
84559f8bd4
commit
97297bd167
BIN
tests/files/sequence_editing/effects/recursive_render_crash_146484.blend
(Stored with Git LFS)
Normal file
BIN
tests/files/sequence_editing/effects/recursive_render_crash_146484.blend
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
tests/files/sequence_editing/effects/reference/recursive_render_crash_146484.png
(Stored with Git LFS)
Normal file
BIN
tests/files/sequence_editing/effects/reference/recursive_render_crash_146484.png
(Stored with Git LFS)
Normal file
Binary file not shown.
Reference in New Issue
Block a user