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:
authorNathan Letwory <nathan@letworyinteractive.com>2010-10-01 12:12:37 +0400
committerNathan Letwory <nathan@letworyinteractive.com>2010-10-01 12:12:37 +0400
commitb85f779355b784675d2e948c1b92a32794554dc6 (patch)
treee25782cad9ab31f895db149e0f7c97e5bb7fa236 /source/blender/editors/mesh/editmesh_mods.c
parent65b92821e1c6032626514217db5857d47cc2c122 (diff)
Add distance check in lasso generation to get a smoother lasso.
Hopefully this helps with lasso select troubles [#21179].
Diffstat (limited to 'source/blender/editors/mesh/editmesh_mods.c')
-rw-r--r--source/blender/editors/mesh/editmesh_mods.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/mesh/editmesh_mods.c b/source/blender/editors/mesh/editmesh_mods.c
index 5a33d60b00e..f8018c686f5 100644
--- a/source/blender/editors/mesh/editmesh_mods.c
+++ b/source/blender/editors/mesh/editmesh_mods.c
@@ -284,7 +284,7 @@ int EM_mask_init_backbuf_border(ViewContext *vc, short mcords[][2], short tot, s
/* yah, opengl doesn't do concave... tsk! */
ED_region_pixelspace(vc->ar);
- draw_triangulated(mcords, tot);
+ draw_triangulated(mcords, tot);
glBegin(GL_LINE_LOOP); /* for zero sized masks, lines */
for(a=0; a<tot; a++) glVertex2s(mcords[a][0], mcords[a][1]);