Blender Git Commit Log

Git Commits -> Revision 08fb55e

Revision 08fb55e by Campbell Barton (master)
December 2, 2015, 08:07 (GMT)
PyAPI: Change ray_cast to fix & improve behavior

- It wasn't possible to know when Object.ray_cast was successful
in the case when it hit a face with no original index.
- Take (ray_start, ray_direction) vectors.
- Take an optional distance argument.
- Scene/Object.ray_cast now use matching arguments & return values.

See D1650 (own patch)

Commit Details:

Full Hash: 08fb55eea2eaa8095e1797d8fdbf531f7ec9f1d1
Parent Commit: e16d39b
Lines Changed: +68, -48

2 Modified Paths:

/source/blender/makesrna/intern/rna_object_api.c (+50, -30) (Diff)
/source/blender/makesrna/intern/rna_scene_api.c (+18, -18) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021