Blender Git Loki

Git Commits -> Revision d48a472

Revision d48a472 by Geoffrey Bantle (master)
January 1, 2007, 09:41 (GMT)
-> Fix for bug #5472

Vertex snapping now works with backbuffered selection modes. Previously
backbuffer sampling had no way to check whether or not the indices that
it retrieved were selected or not. To resolve this I added two optional
arguments to sample_backbuf_rect in drawview.c. The first argument tells
the function that some additional testing of the retrieved index values
needs to be done and the second argument is a pointer to a function to
do the testing. findnearestvert() in editmesh_mods.c now makes use of this
and passes sample_backbuf_rect() the appropriate argument when being used
for vertex snapping.

Commit Details:

Full Hash: d48a472fe5f77ed63dc33e2c6f1104af107baef3
SVN Revision: 9563
Parent Commit: c96e3e6
Lines Changed: +50, -20

4 Modified Paths:

/source/blender/include/BSE_drawview.h (+1, -1) (Diff)
/source/blender/src/drawview.c (+17, -6) (Diff)
/source/blender/src/editface.c (+2, -2) (Diff)
/source/blender/src/editmesh_mods.c (+30, -11) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021