diff options
author | Ton Roosendaal <ton@blender.org> | 2009-02-14 16:07:09 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2009-02-14 16:07:09 +0300 |
commit | 891a2022c51c2c80d999f5419f255cb7caebeb8c (patch) | |
tree | 4da3cb4137eb78b8ab9fb156f3cde2071a8e0d8b /source/blender/editors/include | |
parent | 699f8fe1045c2090b43d00167348b04c09093823 (diff) |
2.5
View3D: snap menu (SHIFT+S) back.
All options are own operators, a (temp?) menu collects them all.
Note that the operators have a full name, for the menu it seems
too much; still I'd prefer a way to name operators in a way
it fits everywhere. That will make a unified translation system
possible for example.
Also: this code was needed to get 'center view' (numpad dot) in
editmode to work.
Last note; it uses old transform code to gather vertex info.
This is fully local to this C file, and quite simple to replace
in future with new transform.
Diffstat (limited to 'source/blender/editors/include')
-rw-r--r-- | source/blender/editors/include/ED_mesh.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/include/ED_mesh.h b/source/blender/editors/include/ED_mesh.h index e32243fc28f..0353fb8c28d 100644 --- a/source/blender/editors/include/ED_mesh.h +++ b/source/blender/editors/include/ED_mesh.h @@ -120,11 +120,12 @@ void EM_selectmode_set(struct EditMesh *em); void EM_select_flush(struct EditMesh *em); void EM_convertsel(struct EditMesh *em, short oldmode, short selectmode); void EM_validate_selections(struct EditMesh *em); - + /* exported to transform */ int EM_get_actSelection(struct EditMesh *em, struct EditSelection *ese); void EM_editselection_normal(float *normal, struct EditSelection *ese); void EM_editselection_plane(float *plane, struct EditSelection *ese); +void EM_editselection_center(float *center, struct EditSelection *ese); struct UvVertMap *EM_make_uv_vert_map(struct EditMesh *em, int selected, int do_face_idx_array, float *limit); struct UvMapVert *EM_get_uv_map_vert(struct UvVertMap *vmap, unsigned int v); |