diff options
author | Joseph Eagar <joeedh@gmail.com> | 2009-05-28 08:41:02 +0400 |
---|---|---|
committer | Joseph Eagar <joeedh@gmail.com> | 2009-05-28 08:41:02 +0400 |
commit | b5aa425dee3d07faa57081f05f111c640162c968 (patch) | |
tree | ce295c41c884c59ffc79f288ddbe143d21d1c19f /source/blender/editors/uvedit | |
parent | 5bb09886fb46339499d7135fa749e0120901c778 (diff) |
Did some code cleanups. Added BM_ITER and
BMO_ITER macros to make defining iterator
loops easier. Moved some files around.
And also made the editmesh conversion functions
tesselate ngons to triangle fans, since it's
more stable for conversion, and editmeshes are
never displayed to the user anyway. And ported
akey to bmesh.
Next up I plan on adding face iterators to DerivedMesh,
since that's the last major chunk of major refactoring
left, I think, except perhaps the uv editor (at the
moment it's probably close to working, but it's still
converting to editmeshes for everything, which is very
bad).
Diffstat (limited to 'source/blender/editors/uvedit')
-rw-r--r-- | source/blender/editors/uvedit/uvedit_ops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/uvedit/uvedit_ops.c b/source/blender/editors/uvedit/uvedit_ops.c index 517d204ac8e..d324c23fe06 100644 --- a/source/blender/editors/uvedit/uvedit_ops.c +++ b/source/blender/editors/uvedit/uvedit_ops.c @@ -1364,7 +1364,7 @@ static int de_select_all_exec(bContext *C, wmOperator *op) ima= CTX_data_edit_image(C); if(scene->toolsettings->uv_flag & UV_SYNC_SELECTION) { - EM_toggle_select_all(em); + EDBM_toggle_select_all(((Mesh*)obedit->data)->edit_btmesh); } else { sel= 0; |