diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2008-03-17 21:49:30 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2008-03-17 21:49:30 +0300 |
commit | 3de98a7cc1e8e2f9cd30d40c9e2273c1c94d62d4 (patch) | |
tree | 6656572cf7c462109235587a0561f1dfd9755c2d /source/blender/src/editmesh_loop.c | |
parent | 25cf799ef823e23704783929982f791555590871 (diff) |
Fix for bug #8093: editmesh knife with axis constraint + snapping rounded
down some values unnecessarily, which made it not entirely exact.
Diffstat (limited to 'source/blender/src/editmesh_loop.c')
-rw-r--r-- | source/blender/src/editmesh_loop.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/src/editmesh_loop.c b/source/blender/src/editmesh_loop.c index b99710f782f..ca47741b6f1 100644 --- a/source/blender/src/editmesh_loop.c +++ b/source/blender/src/editmesh_loop.c @@ -488,11 +488,11 @@ static CutCurve *get_mouse_trail(int *len, char mode, char cutmode, struct GHash { CutCurve *curve,*temp; EditVert *snapvert; - float *scr, mval[2]={0.0,0.0}, lastx=0, lasty=0; + float *scr, mval[2]={0.0,0.0}, lastx=0, lasty=0, lockx=0, locky=0; int i=0, j, blocks=1, lasti=0; int dist, tolerance; short event, val, qual, vsnap=0, ldown=0, restart=0, rubberband=0; - short mval1[2], lockaxis=0, lockx=0, locky=0, oldmode; + short mval1[2], lockaxis=0, oldmode; *len=0; tolerance = 75; |