Fix T37445: Crash with snapping and shrink-wrap modifier.
authorCampbell Barton <ideasman42@gmail.com>
Tue, 19 Nov 2013 03:31:26 +0000 (14:31 +1100)
committerCampbell Barton <ideasman42@gmail.com>
Tue, 19 Nov 2013 03:31:26 +0000 (14:31 +1100)
commit2b946f42970bf4f3b8ce8e5c9b79451745309d89
treea645788cfc92cbd34398eeae43843b1283e89d04
parent95d3286c65e034d9801c2623e81ef92a06e6cc8c
Fix T37445: Crash with snapping and shrink-wrap modifier.

Developer note:
BVHTREE_FROM_FACES was being used for both edit-mesh and derived-mesh
bvh-trees, this could cause index lookup errors in editmode.
Fix by adding a new type for editmesh so theres no confusion.
source/blender/blenkernel/BKE_bvhutils.h
source/blender/blenkernel/intern/bvhutils.c