From 59ca83c3a9a94efa1e7415c83f0fe2033fcfcd28 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 15 Apr 2013 15:16:11 +0000 Subject: rename axis_angle_to_mat3_no_norm() --> axis_angle_normalized_to_mat3(). this matches closer to convention from existing functions - angle_v3v3() angle_normalized_v3v3(). also added assert to ensure argument given to axis_angle_normalized_to_mat3() is in fact normalized. --- source/blender/bmesh/operators/bmo_dupe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/bmesh') diff --git a/source/blender/bmesh/operators/bmo_dupe.c b/source/blender/bmesh/operators/bmo_dupe.c index 9cc96fdca5a..2d78a02f709 100644 --- a/source/blender/bmesh/operators/bmo_dupe.c +++ b/source/blender/bmesh/operators/bmo_dupe.c @@ -496,7 +496,7 @@ void bmo_spin_exec(BMesh *bm, BMOperator *op) phi = BMO_slot_float_get(op->slots_in, "angle") / steps; do_dupli = BMO_slot_bool_get(op->slots_in, "use_duplicate"); - axis_angle_to_mat3(rmat, axis, phi); + axis_angle_normalized_to_mat3(rmat, axis, phi); BMO_slot_copy(op, slots_in, "geom", op, slots_out, "geom_last.out"); -- cgit v1.2.3