forked from bartvdbraak/blender
fix for mirror select and added to the menu
This commit is contained in:
parent
25e9be0002
commit
49a937c521
@ -256,6 +256,8 @@ class VIEW3D_MT_select_edit_mesh(bpy.types.Menu):
|
||||
layout.itemO("mesh.select_more", text="More")
|
||||
|
||||
layout.itemS()
|
||||
|
||||
layout.itemO("mesh.select_mirror", text="Mirror")
|
||||
|
||||
layout.itemO("mesh.select_linked", text="Linked")
|
||||
layout.itemO("mesh.select_vertex_path", text="Vertex Path")
|
||||
|
@ -111,8 +111,10 @@ void EM_cache_x_mirror_vert(struct Object *ob, struct EditMesh *em)
|
||||
for(eve= em->verts.first; eve; eve= eve->next) {
|
||||
if(eve->tmp.v==NULL) {
|
||||
eve_mirror = editmesh_get_x_mirror_vert(ob, em, eve->co);
|
||||
eve->tmp.v= eve_mirror;
|
||||
eve_mirror->tmp.v = eve;
|
||||
if(eve_mirror) {
|
||||
eve->tmp.v= eve_mirror;
|
||||
eve_mirror->tmp.v = eve;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user