Fix face assignments

This commit is contained in:
hasufell 2014-05-13 23:28:47 +02:00
parent 7650f83c36
commit 1bd4bfa1b7
No known key found for this signature in database
GPG Key ID: 220CD1C5BDEED020
1 changed files with 1 additions and 1 deletions

View File

@ -391,7 +391,7 @@ HE_obj *parse_obj(char const * const obj_string)
uint32_t fv_arr_id = fv_id - 1; /* fv_id starts at 1 */
edges[ec].vert = &(vertices[fv_arr_id]);
edges[ec].face = &(faces[j]);
edges[ec].face = &(faces[i]);
edges[ec].pair = NULL; /* preliminary */
vertices[fv_arr_id].edge = &(edges[ec]); /* last one wins */