diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-10-20 21:10:01 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-10-20 21:10:01 +0400 |
commit | 49a937c52180a6e81b56c1604fa782df4ffd557f (patch) | |
tree | 0b9e1c8b3031162560885f347f5f3f141033c4b4 /source/blender/editors/mesh/editmesh_mods.c | |
parent | 25e9be000228e57f5504e171d9ac7155395a631d (diff) |
fix for mirror select and added to the menu
Diffstat (limited to 'source/blender/editors/mesh/editmesh_mods.c')
-rw-r--r-- | source/blender/editors/mesh/editmesh_mods.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/editors/mesh/editmesh_mods.c b/source/blender/editors/mesh/editmesh_mods.c index 7ca044b8087..02fb166a4e1 100644 --- a/source/blender/editors/mesh/editmesh_mods.c +++ b/source/blender/editors/mesh/editmesh_mods.c @@ -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; + } } } } |