patch [#37219] RenderParts.partsdone is not a boolean, but a counter
from Lawrence D'Oliveiro (ldo)
This commit is contained in:
@@ -555,7 +555,7 @@ void RE_parts_init(Render *re, int do_crop)
|
||||
/* this is render info for caller, is not reset when parts are freed! */
|
||||
re->i.totpart = 0;
|
||||
re->i.curpart = 0;
|
||||
re->i.partsdone = FALSE;
|
||||
re->i.partsdone = 0;
|
||||
|
||||
/* just for readable code.. */
|
||||
xminb = re->disprect.xmin;
|
||||
|
||||
@@ -878,7 +878,7 @@ static void sss_create_tree_mat(Render *re, Material *mat)
|
||||
re->r.mode &= ~R_OSA;
|
||||
re->sss_points= &points;
|
||||
re->sss_mat= mat;
|
||||
re->i.partsdone = FALSE;
|
||||
re->i.partsdone = 0;
|
||||
|
||||
if (!(re->r.scemode & (R_BUTS_PREVIEW|R_VIEWPORT_PREVIEW)))
|
||||
re->result= NULL;
|
||||
|
||||
Reference in New Issue
Block a user