diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-11-29 09:02:06 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-11-29 09:02:06 +0400 |
commit | 858149d7c7f3bd4d6a254d560d3a0810e5739ae5 (patch) | |
tree | 6737a0d63a005b6333d18f8375044cb233663b4f /source/blender/bmesh | |
parent | ede703ab855e7a4608631780949334984e05c2b4 (diff) |
bmesh py api: add bmesh.update_edit_mode(), there was no way to redraw the 3d view or re-calculate face tessellation from python.
add py template for editing meshes in editmode.
also remove double call to CTX_wm_region which does a string lookup.
Diffstat (limited to 'source/blender/bmesh')
-rw-r--r-- | source/blender/bmesh/intern/bmesh_opdefines.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/source/blender/bmesh/intern/bmesh_opdefines.c b/source/blender/bmesh/intern/bmesh_opdefines.c index 5a25861a74a..58c6e051e48 100644 --- a/source/blender/bmesh/intern/bmesh_opdefines.c +++ b/source/blender/bmesh/intern/bmesh_opdefines.c @@ -581,8 +581,7 @@ static BMOpDefine bmo_edgenet_prepare_def = { /* * Rotate. * - * Rotate vertices around a center, using a 3x3 rotation - * matrix. Equivalent of the old rotateflag function. + * Rotate vertices around a center, using a 3x3 rotation matrix. */ static BMOpDefine bmo_rotate_def = { "rotate", @@ -600,8 +599,7 @@ static BMOpDefine bmo_rotate_def = { /* * Translate. * - * Translate vertices by an offset. Equivalent of the - * old translateflag function. + * Translate vertices by an offset. */ static BMOpDefine bmo_translate_def = { "translate", |