Blender Git Loki

Git Commits -> Revision bf0a554

Revision bf0a554 by Pablo Dobarro (master)
May 13, 2020, 00:49 (GMT)
Fix T75968: PBVH raycast returns wrong active vertex

nearest_vertex_co was not reset when a new triangle was intersected by
the ray, so it was always returning the closest vertex to the real
cursor position in any triangle, which was not always the triangle under
the cursor.

Reviewed By: sergey

Maniphest Tasks: T75968

Differential Revision: https://developer.blender.org/D7485

Commit Details:

Full Hash: bf0a55411491329aa2ee893c111e66feeab8793b
Parent Commit: 50ef801
Lines Changed: +10, -3

1 Modified Path:

/source/blender/blenkernel/intern/pbvh.c (+10, -3) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021