Better fix for T44556: Crash on the World Properties > Preview
This commit is contained in:
parent
179fff94e8
commit
078e589263
|
@ -550,6 +550,9 @@ static bool ed_preview_draw_rect(ScrArea *sa, int split, int first, rcti *rect,
|
|||
/* test if something rendered ok */
|
||||
re = RE_GetRender(name);
|
||||
|
||||
if (re == NULL)
|
||||
return;
|
||||
|
||||
RE_AcquireResultImageViews(re, &rres);
|
||||
|
||||
/* material preview only needs monoscopy (view 0) */
|
||||
|
|
Loading…
Reference in New Issue