diff options
author | Joseph Eagar <joeedh@gmail.com> | 2010-07-15 02:06:10 +0400 |
---|---|---|
committer | Joseph Eagar <joeedh@gmail.com> | 2010-07-15 02:06:10 +0400 |
commit | a37bcf93ef395817a881918053ffff9c2ab73a03 (patch) | |
tree | fd43545e6e98467828c7496f6b27267f5abde24f /source/blender/editors/uvedit/uvedit_draw.c | |
parent | 43f2a8cee7d95b8199b29719541f9f0ea98674c3 (diff) |
wip commit; DO NOT USE. almost done with phase 1 of this restructuring, basically just some things that needed to be done before trunk (and some things that needed to be started, but can be finished much later).
Diffstat (limited to 'source/blender/editors/uvedit/uvedit_draw.c')
-rw-r--r-- | source/blender/editors/uvedit/uvedit_draw.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/editors/uvedit/uvedit_draw.c b/source/blender/editors/uvedit/uvedit_draw.c index e96fda1eca6..f13ea513987 100644 --- a/source/blender/editors/uvedit/uvedit_draw.c +++ b/source/blender/editors/uvedit/uvedit_draw.c @@ -631,9 +631,9 @@ static void draw_uvs(SpaceImage *sima, Scene *scene, Object *obedit) glEnd(); /*glBegin(GL_LINE_STRIP); - luv = CustomData_bmesh_get(&em->bm->ldata, efa->loopbase->head.data, CD_MLOOPUV); + luv = CustomData_bmesh_get(&em->bm->ldata, efa->lbase->head.data, CD_MLOOPUV); glVertex2fv(luv->uv); - luv = CustomData_bmesh_get(&em->bm->ldata, efa->loopbase->head.next->data, CD_MLOOPUV); + luv = CustomData_bmesh_get(&em->bm->ldata, efa->lbase->next->head.data, CD_MLOOPUV); glVertex2fv(luv->uv); glEnd();*/ @@ -697,7 +697,7 @@ static void draw_uvs(SpaceImage *sima, Scene *scene, Object *obedit) luv = CustomData_bmesh_get(&em->bm->ldata, l->head.data, CD_MLOOPUV); glVertex2fv(luv->uv); - luv = CustomData_bmesh_get(&em->bm->ldata, l->head.next->data, CD_MLOOPUV); + luv = CustomData_bmesh_get(&em->bm->ldata, l->next->head.data, CD_MLOOPUV); glVertex2fv(luv->uv); i += 1; } @@ -719,7 +719,7 @@ static void draw_uvs(SpaceImage *sima, Scene *scene, Object *obedit) luv = CustomData_bmesh_get(&em->bm->ldata, l->head.data, CD_MLOOPUV); glVertex2fv(luv->uv); - luv = CustomData_bmesh_get(&em->bm->ldata, l->head.next->data, CD_MLOOPUV); + luv = CustomData_bmesh_get(&em->bm->ldata, l->next->head.data, CD_MLOOPUV); glVertex2fv(luv->uv); i += 1; } |