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:
authorMartin Poirier <theeth@yahoo.com>2006-12-29 01:42:58 +0300
committerMartin Poirier <theeth@yahoo.com>2006-12-29 01:42:58 +0300
commit3c13561ab59b6abb667b846955040a00a9c5be7a (patch)
treed27d66083a9c6dcd9da79061b43d1d608f10c7c7 /source/blender/src/editmesh_loop.c
parentd665beb5df7ba099f0da983bfe939ab30e54dfba (diff)
=== Transform Snap ===
Fixed the bug where it would snap to a selected (moving) vertex. Fixed a bug with Snap Closest with only one vertex selected. === Internals: EditMesh Mods === Modify and documented findnearestvert. Added a new parameter to restrict the search to selected or unselected vert instead of just adding a bias to them (as previously). Currently, the "strict" method bypasses the openGL optimisation, people with more knowledge about that should feel invited to fix it. === Internals: EditMesh Tools === Adding missing newline at the end.
Diffstat (limited to 'source/blender/src/editmesh_loop.c')
-rw-r--r--source/blender/src/editmesh_loop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/editmesh_loop.c b/source/blender/src/editmesh_loop.c
index 885c64891cb..013a6b2947b 100644
--- a/source/blender/src/editmesh_loop.c
+++ b/source/blender/src/editmesh_loop.c
@@ -562,7 +562,7 @@ static CutCurve *get_mouse_trail(int *len, char mode, char cutmode, struct GHash
if(vsnap){
persp(PERSP_VIEW);
dist = tolerance;
- snapvert = findnearestvert(&dist, SELECT);
+ snapvert = findnearestvert(&dist, SELECT, 0);
glColor3ub(255, 0, 255);
glDrawBuffer(GL_FRONT);
persp(PERSP_WIN);