diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-03-20 08:27:14 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-03-20 08:27:14 +0400 |
commit | be116242d43c58ddf08b5d28379cdb0a26b6bb5c (patch) | |
tree | 5c8775dd5cc2c379962b09c7f4fe471d39a07d34 /source/blender/bmesh/intern/bmesh_marking.c | |
parent | 3427749090a427f29a1eecbe7f921a8e8007002c (diff) |
style cleanup
Diffstat (limited to 'source/blender/bmesh/intern/bmesh_marking.c')
-rw-r--r-- | source/blender/bmesh/intern/bmesh_marking.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/bmesh/intern/bmesh_marking.c b/source/blender/bmesh/intern/bmesh_marking.c index 453cabd2e2f..b5e8b42c30c 100644 --- a/source/blender/bmesh/intern/bmesh_marking.c +++ b/source/blender/bmesh/intern/bmesh_marking.c @@ -607,9 +607,9 @@ void BM_editselection_plane(BMesh *bm, float r_plane[3], BMEditSelection *ese) * we cant make a crossvec from a vec thats the same as the vec * unlikely but possible, so make sure if the normal is (0, 0, 1) * that vec isn't the same or in the same direction even. */ - if (eve->no[0] < 0.5f) vec[0] = 1.0f; - else if (eve->no[1] < 0.5f) vec[1] = 1.0f; - else vec[2] = 1.0f; + if (eve->no[0] < 0.5f) vec[0] = 1.0f; + else if (eve->no[1] < 0.5f) vec[1] = 1.0f; + else vec[2] = 1.0f; cross_v3_v3v3(r_plane, eve->no, vec); } } |