diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-05-02 15:40:00 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-05-02 15:40:00 +0300 |
commit | 5659d8bc0aa334aee20f29548e048f3002f1cff6 (patch) | |
tree | 924286c8a2cac613491de5fabb6208192960f58a /source/blender/editors/transform/transform_snap_object.c | |
parent | 23fe6e7eab3a728f1d1c6df2cef97ad02c222d37 (diff) | |
parent | 522bee3fc838c83b377d0e05fef8299a29ae5a16 (diff) |
Merge branch 'master' into blender2.8
Diffstat (limited to 'source/blender/editors/transform/transform_snap_object.c')
-rw-r--r-- | source/blender/editors/transform/transform_snap_object.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/transform/transform_snap_object.c b/source/blender/editors/transform/transform_snap_object.c index b6b7e157591..77e75900af7 100644 --- a/source/blender/editors/transform/transform_snap_object.c +++ b/source/blender/editors/transform/transform_snap_object.c @@ -1694,10 +1694,10 @@ static bool snapDerivedMesh( if (treedata->tree == NULL) { switch (snapdata->snap_to) { case SCE_SNAP_MODE_EDGE: - bvhtree_from_mesh_edges(treedata, dm, 0.0f, 2, 6); + bvhtree_from_mesh_get(treedata, dm, BVHTREE_FROM_EDGES); break; case SCE_SNAP_MODE_VERTEX: - bvhtree_from_mesh_verts(treedata, dm, 0.0f, 2, 6); + bvhtree_from_mesh_get(treedata, dm, BVHTREE_FROM_VERTS); break; } } |