diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-01-03 19:52:31 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-01-03 19:52:31 +0400 |
commit | c03d1270c8f537778a92dff46abfcf37c6bc64e5 (patch) | |
tree | 6be2b1bbf1fc83c3f950bcb11f0049d0d465ac04 /source/blender/editors/uvedit | |
parent | e0869db01f21447fc6573dd88357da454b9d8a78 (diff) |
fix bad left aligned text when zoomed out.
also minor change to cylinder_project_exec() - delay getting the MTFace.
Diffstat (limited to 'source/blender/editors/uvedit')
-rw-r--r-- | source/blender/editors/uvedit/uvedit_unwrap_ops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/uvedit/uvedit_unwrap_ops.c b/source/blender/editors/uvedit/uvedit_unwrap_ops.c index ddd42ded769..81f548b2b5d 100644 --- a/source/blender/editors/uvedit/uvedit_unwrap_ops.c +++ b/source/blender/editors/uvedit/uvedit_unwrap_ops.c @@ -1563,7 +1563,6 @@ static int cylinder_project_exec(bContext *C, wmOperator *op) uv_map_transform(C, op, center, rotmat); BM_ITER_MESH (efa, &iter, em->bm, BM_FACES_OF_MESH) { - tf = CustomData_bmesh_get(&em->bm->pdata, efa->head.data, CD_MTEXPOLY); if (!BM_elem_flag_test(efa, BM_ELEM_SELECT)) continue; @@ -1573,6 +1572,7 @@ static int cylinder_project_exec(bContext *C, wmOperator *op) uv_cylinder_project(luv->uv, l->v->co, center, rotmat); } + tf = CustomData_bmesh_get(&em->bm->pdata, efa->head.data, CD_MTEXPOLY); uv_map_mirror(em, efa, tf); } |