Blender Git Loki

Git Commits -> Revision 9a50f45

Revision 9a50f45 by Nicholas Bishop (master)
January 19, 2013, 16:10 (GMT)
Skip hidden faces in PBVH BMesh ray intersection test

Moved the GPU function gpu_bmesh_face_visible() to BKE_paint and
inverted the test to match equivalent tests for other mesh types:
paint_is_bmesh_face_hidden().

Changed BKE_pbvh_bmesh_node_save_orig() to not save hidden faces into
the triangle array.

Modified the non-use-original branch of pbvh_bmesh_node_raycast() to
skip hidden faces.

Fixes bug #33914:
projects.blender.org/tracker/index.php?func=detail&aid=33914&group_id=9&atid=498

Commit Details:

Full Hash: 9a50f454697e5dea6e8603aa90fadaa6156657d6
SVN Revision: 53912
Parent Commit: 39976301
Lines Changed: +31, -22

4 Modified Paths:

/source/blender/blenkernel/BKE_paint.h (+2, -0) (Diff)
/source/blender/blenkernel/intern/paint.c (+18, -0) (Diff)
/source/blender/blenkernel/intern/pbvh_bmesh.c (+8, -3) (Diff)
/source/blender/gpu/intern/gpu_buffers.c (+3, -19) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021