Fix T46225: Crash when rendering halo flare

Error introduced in the multiview commit.
Also bringing back the "continue" statement instead of "return", as it
was before multiview.
This commit is contained in:
Dalai Felinto
2015-09-23 13:35:01 -03:00
parent d0a2a8086c
commit 1827f99a78

View File

@@ -1971,9 +1971,9 @@ void add_halo_flare(Render *re)
rect = RE_RenderLayerGetPass(rl, SCE_PASS_COMBINED, re->viewname);
if (rl==NULL || rect)
return;
if (rect==NULL)
continue;
mode= R.r.mode;
R.r.mode &= ~R_PANORAMA;