Fix T94506: Crash in Compositing
This commit is contained in:
parent
7d26cf01f7
commit
ed397ff507
Notes:
blender-bot
2023-02-14 00:20:19 +01:00
Referenced by issue #94506, Crash in Compositing Referenced by issue #93479, 3.0 Potential candidates for corrective releases
|
@ -477,6 +477,12 @@ RenderResult *render_result_new(Render *re,
|
|||
|
||||
void render_result_passes_allocated_ensure(RenderResult *rr)
|
||||
{
|
||||
if (rr == NULL) {
|
||||
/* Happens when the result was not yet allocated for the current scene or slot configuration.
|
||||
*/
|
||||
return;
|
||||
}
|
||||
|
||||
LISTBASE_FOREACH (RenderLayer *, rl, &rr->layers) {
|
||||
LISTBASE_FOREACH (RenderPass *, rp, &rl->passes) {
|
||||
if (rl->exrhandle != NULL && !STREQ(rp->name, RE_PASSNAME_COMBINED)) {
|
||||
|
|
Loading…
Reference in New Issue