forked from bartvdbraak/blender
style cleanup
This commit is contained in:
parent
ddf39a87aa
commit
857df8065f
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user