diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2014-01-30 21:48:49 +0400 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2014-01-30 21:50:12 +0400 |
commit | 1e096ee816289fe8e7f4286e98b3203336bc3924 (patch) | |
tree | 9854fac45663232c4e47e043776eaa9f7c6a47cb /source/blender/blenkernel/intern/object.c | |
parent | 0e1c1b61960ba520cc624ed7bd769aa524ecc1db (diff) |
More snapping fixes (this is ridiculous).
I hope this time we are done!
Diffstat (limited to 'source/blender/blenkernel/intern/object.c')
-rw-r--r-- | source/blender/blenkernel/intern/object.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/object.c b/source/blender/blenkernel/intern/object.c index d8170af30c3..bd614392a63 100644 --- a/source/blender/blenkernel/intern/object.c +++ b/source/blender/blenkernel/intern/object.c @@ -3144,7 +3144,7 @@ bool BKE_boundbox_ray_hit_check(struct BoundBox *bb, const float ray_start[3], c bool result = false; int i; - + for (i = 0; i < 12 && (!result || r_lambda); i++) { float lambda; int v1, v2, v3; @@ -3160,7 +3160,7 @@ bool BKE_boundbox_ray_hit_check(struct BoundBox *bb, const float ray_start[3], c } } } - + return result; } |