bugfix [#24783] Strange shadows on beveled curve; goes away with modifier

this bug wasnt in 2.4x, suspect this happened when normal flipping was removed.
This commit is contained in:
Campbell Barton
2010-11-18 05:35:04 +00:00
parent 223e70467e
commit a3773b6ec5

View File

@@ -2944,7 +2944,7 @@ static void init_render_curve(Render *re, ObjectRen *obr, int timeoffset)
*/
if(frontside)
normal_tri_v3( vlr->n,vlr->v2->co, vlr->v3->co, vlr->v4->co);
normal_tri_v3( vlr->n,vlr->v4->co, vlr->v3->co, vlr->v2->co);
else
normal_tri_v3( vlr->n,vlr->v1->co, vlr->v2->co, vlr->v3->co);