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:
authorCampbell Barton <ideasman42@gmail.com>2006-06-20 04:30:10 +0400
committerCampbell Barton <ideasman42@gmail.com>2006-06-20 04:30:10 +0400
commitc8b6425f617df7b8ba7cc9265f253c4a1a049533 (patch)
tree8deddb4e91f049a3f06210e91385a2c45e836fdb /source/blender/src/editmesh_mods.c
parent77506aa1411fdf273abac41a0bc51dc56d0a5386 (diff)
scaled comparison adjustment only effects editmode select group
documented a workaround for python drawinf pixel aligned text in teh 2d view Added links from Draw.Test to the OpenGL functions that set the location and color.
Diffstat (limited to 'source/blender/src/editmesh_mods.c')
-rw-r--r--source/blender/src/editmesh_mods.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/editmesh_mods.c b/source/blender/src/editmesh_mods.c
index 364be5afb46..b92906e261e 100644
--- a/source/blender/src/editmesh_mods.c
+++ b/source/blender/src/editmesh_mods.c
@@ -745,7 +745,7 @@ static int unified_findnearest(EditVert **eve, EditEdge **eed, EditFace **efa)
}
/* this as a way to compare the ares, perim of 2 faces thay will scale to different sizes */
-#define SCALE_CMP(a,b) (fabs(a-b) <= thresh || (a>0 && fabs(b/a)<=thresh))
+#define SCALE_CMP(a,b) (fabs(a-b) <= thresh*a || (a>0 && fabs(b/a)<=thresh))
/* **************** GROUP SELECTS ************** */
/* selects new faces/edges/verts based on the