diff options
author | mano-wii <germano.costa@ig.com.br> | 2019-08-24 15:21:13 +0300 |
---|---|---|
committer | mano-wii <germano.costa@ig.com.br> | 2019-08-24 15:21:13 +0300 |
commit | a53ed1e0496de04619a404a2a1f47d3eb13b4365 (patch) | |
tree | 3f8eadb956efd0b199d96f12b20d7f8e9eef60db | |
parent | 3437fcf2f1d83394efaa6926e46ed577caf6a384 (diff) |
Fix crash when snapping ruler
-rw-r--r-- | source/blender/editors/transform/transform_snap_object.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/transform/transform_snap_object.c b/source/blender/editors/transform/transform_snap_object.c index 132d2511065..7a8a123cf79 100644 --- a/source/blender/editors/transform/transform_snap_object.c +++ b/source/blender/editors/transform/transform_snap_object.c @@ -2318,7 +2318,7 @@ static short snapEditMesh(SnapObjectContext *sctx, MEM_freeN(edges_mask); } else { - BKE_bvhtree_from_editmesh_get(treedata_vert, em, 2, BVHTREE_FROM_EM_EDGES, em_bvh_cache); + BKE_bvhtree_from_editmesh_get(treedata_edge, em, 2, BVHTREE_FROM_EM_EDGES, em_bvh_cache); } } } |