diff options
author | Martin Poirier <theeth@yahoo.com> | 2007-02-26 20:24:22 +0300 |
---|---|---|
committer | Martin Poirier <theeth@yahoo.com> | 2007-02-26 20:24:22 +0300 |
commit | 509967930e8f7c1f1c312334a757108f6b88c1f6 (patch) | |
tree | c96e0b53c3cd8d135783d2be914dc742f9b5d344 /source/blender/src/editmesh_tools.c | |
parent | a3320f209c8913751efc5c90ab62bcde32bae55f (diff) |
=== Edit Mesh Bevel ===
[ #6110 ] bevel tool contains a bug
Fix: Added missing initgrabz
Diffstat (limited to 'source/blender/src/editmesh_tools.c')
-rw-r--r-- | source/blender/src/editmesh_tools.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/src/editmesh_tools.c b/source/blender/src/editmesh_tools.c index cfaab014135..900f983d26a 100644 --- a/source/blender/src/editmesh_tools.c +++ b/source/blender/src/editmesh_tools.c @@ -4397,6 +4397,8 @@ void bevel_menu() // while still drawing in the first iteration (and without using another variable) curval[0] = mval[0] + 1; curval[1] = mval[1] + 1; + // Init grabz for window to vec conversions + initgrabz(-G.vd->ofs[0], -G.vd->ofs[1], -G.vd->ofs[2]); window_to_3d(centre, mval[0], mval[1]); if(button(&recurs, 1, 4, "Recursion:")==0) return; @@ -4417,7 +4419,7 @@ void bevel_menu() Recalc = 0; curval[0] = mval[0]; curval[1] = mval[1]; - + window_to_3d(vec, mval[0]-oval[0], mval[1]-oval[1]); d = Normalise(vec) / 10; |