Forgot that me->mface is void pointer (bad!)... fix found by Nathan. thnx!

This commit is contained in:
2004-11-09 12:16:00 +00:00
parent d95072d68e
commit 1197c4842a

View File

@@ -1972,7 +1972,7 @@ static void drawmeshsolid(Object *ob, float *nors)
if(do_wire) {
start= 0; end= me->totface;
set_buildvars(ob, &start, &end);
mface= me->mface+start;
mface= ((MFace *)me->mface)+start;
BIF_ThemeColor(TH_WIRE);
glBegin(GL_LINES);
for(a=0; a<end; a++, mface++) {