Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2004-12-03 21:04:33 +0300
committerTon Roosendaal <ton@blender.org>2004-12-03 21:04:33 +0300
commit4193f1cd7f4d9a961c2015d4de37f7aa7fbb9c9b (patch)
treec3e2b54aa41672e0853351fb974980783f3731e2 /source/blender/src/editmesh_mods.c
parent0d9f06cce44d77b87109edd4f637f48ead773f15 (diff)
Bug fix #1946
Editmode Mesh, edge selectmode, not zbuffer on. Selecting edges didnt give a small disadvantage to the already selected one, making it hard to select edges that are extreme close or on top of each other.
Diffstat (limited to 'source/blender/src/editmesh_mods.c')
-rw-r--r--source/blender/src/editmesh_mods.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/src/editmesh_mods.c b/source/blender/src/editmesh_mods.c
index 2e5c49ad26e..19b862074bd 100644
--- a/source/blender/src/editmesh_mods.c
+++ b/source/blender/src/editmesh_mods.c
@@ -494,6 +494,7 @@ static EditEdge *findnearestedge_f(short *dist)
if( !((eed->v1->f & 2) && (eed->v2->f & 2)) && eed->h==0){
distance= dist_mval_edge(mval, eed);
+ if(eed->f & SELECT) distance+=5;
if(distance < *dist) {
*dist= distance;
closest= eed;