From e96c813cc3ddaf95b7b290d18c5d8ddafe3606a5 Mon Sep 17 00:00:00 2001 From: Geoffrey Bantle Date: Fri, 11 Aug 2006 07:24:33 +0000 Subject: -> Vertex support for knife tool Previously the knife tool only allowed you to cut through edges. This approach is limited however, since many times you want to cut through vertices in order to create precise cuts or terminate a cut in a specific way. Blenders knife tool now supports cutting through vertices as demonstrated in these pictures: http://briggs.zanqdo.com/newknife1.jpg http://briggs.zanqdo.com/newknife2.jpg Since the vertex intersection code is very precise, vertex snapping has been added to the knife tool to assist the user when they wish to cut through vertices and can be toggled by pressing and holding the 'alt' key. Notes: -Vertex cutting and vertex snapping are only available when using the 'knife exact' option. -Added various fixes to the precision of the knife tool. --- source/blender/include/editmesh.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/include/editmesh.h') diff --git a/source/blender/include/editmesh.h b/source/blender/include/editmesh.h index b9827e8af54..fc498fd662f 100644 --- a/source/blender/include/editmesh.h +++ b/source/blender/include/editmesh.h @@ -90,6 +90,7 @@ extern int convex(float *v1, float *v2, float *v3, float *v4); /* ******************* editmesh_mods.c */ extern EditEdge *findnearestedge(short *dist); +extern EditVert *findnearestvert(short *dist, short sel); /* ******************* editmesh_tools.c */ -- cgit v1.2.3