Cleanup: use normalize_v#_length
[blender.git] / source / blender / bmesh / operators / bmo_extrude.c
index f2a8e05d76347d2849dc73e13544e9c5fd620738..87369472df79540538db7f044d0658632bafa615 100644 (file)
@@ -667,8 +667,7 @@ static void calc_solidify_normals(BMesh *bm)
                                /* two faces using this edge, calculate the edge normal
                                 * using the angle between the faces as a weighting */
                                add_v3_v3v3(edge_normal, f1->no, f2->no);
-                               normalize_v3(edge_normal);
-                               mul_v3_fl(edge_normal, angle);
+                               normalize_v3_length(edge_normal, angle);
                        }
                        else {
                                /* can't do anything useful here!