diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-04-15 19:16:11 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-04-15 19:16:11 +0400 |
commit | 59ca83c3a9a94efa1e7415c83f0fe2033fcfcd28 (patch) | |
tree | 131a1add9b80df39fed212a1484b51048756b747 /source/blender/bmesh/operators/bmo_dupe.c | |
parent | 03d631986234d476d4d763b0fded289b482257b6 (diff) |
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.
Diffstat (limited to 'source/blender/bmesh/operators/bmo_dupe.c')
-rw-r--r-- | source/blender/bmesh/operators/bmo_dupe.c | 2 |
1 files changed, 1 insertions, 1 deletions
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"); |