style cleanup

This commit is contained in:
Campbell Barton 2012-12-28 14:19:05 +00:00
parent ddf39a87aa
commit 857df8065f
39 changed files with 126 additions and 127 deletions

@ -2070,7 +2070,6 @@ static int wpaint_ensure_data(bContext *C, wmOperator *op)
return FALSE; return FALSE;
} }
me = BKE_mesh_from_object(ob);
if (me == NULL || me->totpoly == 0) { if (me == NULL || me->totpoly == 0) {
return FALSE; return FALSE;
} }

@ -1740,7 +1740,7 @@ void zbufshade_sss_tile(RenderPart *pa)
#if 0 #if 0
if (rs) { if (rs) {
/* for each sample in this pixel, shade it */ /* for each sample in this pixel, shade it */
for (ps=(PixStr*)*rs; ps; ps=ps->next) { for (ps = (PixStr *)(*rs); ps; ps=ps->next) {
ObjectInstanceRen *obi= &re->objectinstance[ps->obi]; ObjectInstanceRen *obi= &re->objectinstance[ps->obi];
ObjectRen *obr= obi->obr; ObjectRen *obr= obi->obr;
vlr= RE_findOrAddVlak(obr, (ps->facenr-1) & RE_QUAD_MASK); vlr= RE_findOrAddVlak(obr, (ps->facenr-1) & RE_QUAD_MASK);