Fix typo in previous commit

`has_loose_edge` -> `has_loose_vert`
This commit is contained in:
Germano Cavalcante 2021-04-18 20:45:06 -03:00
parent 1825e67dea
commit 950d8360f8
1 changed files with 1 additions and 1 deletions

View File

@ -2315,7 +2315,7 @@ static short snapMesh(SnapObjectContext *sctx,
if (sod->has_loose_vert && sod->bvhtree[1] == NULL) {
sod->bvhtree[1] = BKE_bvhtree_from_mesh_get(&treedata_tmp, me, BVHTREE_FROM_LOOSEVERTS, 2);
if (sod->bvhtree[1] == NULL) {
sod->has_loose_edge = false;
sod->has_loose_vert = false;
}
sod->cached[1] = treedata_tmp.cached;
BLI_assert(!ELEM(true,