- miencho (thanks) pointed me to a weak line in draw mesh solid call.

it used a pointer, without checking its value. the calling code
  took care it never happened, nevertheless... added a comment there.
This commit is contained in:
2003-07-06 20:18:42 +00:00
parent 62ffb7a5f6
commit a4cc2526b3

View File

@@ -1791,7 +1791,7 @@ static void drawmeshsolid(Object *ob, float *nors)
if(ob->dtx & OB_DRAWWIRE) drawMeshWireExtra(ob);
}
else {
else if(nors) { /* should never be zero, but is weak code... the displist system needs a make over (ton) */
start= 0; end= me->totface;
set_buildvars(ob, &start, &end);