1957
1957
RenderResult *rr= re->result;
1958
1958
RenderLayer *rl;
1960
int a, mode, do_draw = FALSE;
1962
1962
/* for now, we get the first renderlayer in list with halos set */
1963
for (rl= rr->layers.first; rl; rl= rl->next)
1964
if (rl->layflag & SCE_LAY_HALO)
1967
if (rl==NULL || rl->rectf==NULL)
1971
R.r.mode &= ~R_PANORAMA;
1973
project_renderdata(&R, projectverto, 0, 0, 0);
1975
for (a=0; a<R.tothalo; a++) {
1976
har= R.sortedhalos[a];
1980
renderflare(rr, rl->rectf, har);
1985
/* weak... the display callback wants an active renderlayer pointer... */
1987
re->display_draw(re->ddh, rr, NULL);
1963
for (rl= rr->layers.first; rl; rl= rl->next) {
1964
int do_draw = FALSE;
1966
if ((rl->layflag & SCE_LAY_HALO) == 0)
1968
if (rl->rectf==NULL)
1972
R.r.mode &= ~R_PANORAMA;
1974
project_renderdata(&R, projectverto, 0, 0, 0);
1976
for (a=0; a<R.tothalo; a++) {
1977
har= R.sortedhalos[a];
1979
if (har->flarec && (har->lay & rl->lay)) {
1981
renderflare(rr, rl->rectf, har);
1986
/* weak... the display callback wants an active renderlayer pointer... */
1988
re->display_draw(re->ddh, rr, NULL);