Fix wireframe modifier w/ even offset
authorCampbell Barton <ideasman42@gmail.com>
Fri, 4 May 2018 06:38:01 +0000 (08:38 +0200)
committerCampbell Barton <ideasman42@gmail.com>
Fri, 4 May 2018 06:38:01 +0000 (08:38 +0200)
Was passing non-normalized axis to angle_on_axis.

source/blender/bmesh/tools/bmesh_wireframe.c

index e79ef52797b220d18ae8eeba12557546d479187f..c45e617dd39045d44a6801eae7dc7fa794a5cce8 100644 (file)
@@ -91,6 +91,7 @@ static void bm_vert_boundary_tangent(
 
                /* average edge face normal */
                add_v3_v3v3(no_face, l_a->f->no, l_b->f->no);
+               normalize_v3(no_face);
 
                /* average edge direction */
                v_a = BM_edge_other_vert(e_a, v);