bug fix in vrml (inventor) import.
Maarten
This commit is contained in:
@@ -1290,7 +1290,7 @@ static void read_inventor(char *str, struct ListBase *listb)
|
||||
face= 0;
|
||||
index= iv->data[0];
|
||||
lll = iv->datalen[0]-2;
|
||||
for(a=0; lll; a++) {
|
||||
for(a=0; a<lll; a++) {
|
||||
if(index[0]!= -1 && index[1]!= -1 && index[2]!= -1) face++;
|
||||
index++;
|
||||
}
|
||||
|
Reference in New Issue
Block a user