- fixed a problem with face select and vertex paint modes by removing

the check for nors != NULL (sorry miencho!).
This commit is contained in:
2003-07-10 20:53:59 +00:00
parent 5d118d2b62
commit d4c849391e

View File

@@ -1791,7 +1791,12 @@ static void drawmeshsolid(Object *ob, float *nors)
if(ob->dtx & OB_DRAWWIRE) drawMeshWireExtra(ob); if(ob->dtx & OB_DRAWWIRE) drawMeshWireExtra(ob);
} }
else if(nors) { /* should never be zero, but is weak code... the displist system needs a make over (ton) */ else { /* [nors] should never be zero, but is weak code... the displist
system needs a make over (ton)
Face select and vertex paint calls drawmeshsolid() with nors = NULL!
It's still weak code but hey, as ton says, the whole system needs
a good thrashing! ;) (aphex) */
start= 0; end= me->totface; start= 0; end= me->totface;
set_buildvars(ob, &start, &end); set_buildvars(ob, &start, &end);