Fix crash after 475bd6b
occuring on each render end, we need another nullcheck here
This commit is contained in:
parent
cec9dbc997
commit
3ea67e08fe
Notes:
blender-bot
2023-02-14 05:37:19 +01:00
Referenced by issue #76224, Grid Fill Offset function doesn't work (regression since b1037aa88f
)
Referenced by issue #76225, View layer filters are grayed out while still working.
Referenced by issue #76214, Compositor crash in Blender 2.83 latest build
Referenced by issue #76205, Progressive refine not generating denoising data if stopped prematurely.
Referenced by issue #76206, Standard and OptiX denoising not applying to progressive refine images if stopped prematurely
Referenced by issue #74243, Workbench x-ray, wireframe and anti-aliasing artifacts on NVIDIA / Linux
|
@ -656,7 +656,7 @@ static void uiblock_layer_pass_buttons(
|
|||
/* pass */
|
||||
rpass = (rl ? BLI_findlink(&rl->passes, iuser->pass) : NULL);
|
||||
|
||||
if (RE_passes_have_name(rl)) {
|
||||
if (rl && RE_passes_have_name(rl)) {
|
||||
display_name = rpass ? rpass->name : "";
|
||||
rnd_pt = ui_imageuser_data_copy(&rnd_pt_local);
|
||||
but = uiDefMenuBut(block,
|
||||
|
|
Loading…
Reference in New Issue