Fix T77994: VSE crash adding a glow effect strip

Since rB47f98a38d0f8 not all 3 effect inputs were assigned anymore. Their
ImBuf's rect was accessed though in do_glow_effect (even though unused in
the following dedicated functions).

Just pass NULL here instead.

Reviewed By: ISS

Differential Revision: https://developer.blender.org/D8064
This commit is contained in:
Philipp Oeser 2020-06-20 06:42:31 +02:00 committed by Richard Antalik
parent 73ffb3e067
commit d994391e0c
Notes: blender-bot 2023-02-14 08:59:10 +01:00
Referenced by issue #78028, Crash rendering Cycles and Grease Pencil with Save Buffers enabled
Referenced by issue #77994, VSE crash adding a glow effect strip
1 changed files with 2 additions and 2 deletions

View File

@ -2810,7 +2810,7 @@ static ImBuf *do_glow_effect(const SeqRenderData *context,
context->rectx,
context->recty,
ibuf1->rect_float,
ibuf2->rect_float,
NULL,
out->rect_float);
}
else {
@ -2821,7 +2821,7 @@ static ImBuf *do_glow_effect(const SeqRenderData *context,
context->rectx,
context->recty,
(unsigned char *)ibuf1->rect,
(unsigned char *)ibuf2->rect,
NULL,
(unsigned char *)out->rect);
}