- 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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user