Fix for mistake in intersect duplicate list check

In practice this hardly ever happened.
This commit is contained in:
Campbell Barton 2015-12-11 00:43:51 +11:00
parent 5452df7984
commit 2f57b1cece

@ -158,7 +158,7 @@ static bool ghash_insert_link(
}
else {
ls_base = *ls_base_p;
if (use_test && (BLI_linklist_index(ls_base->list, key) != -1)) {
if (use_test && (BLI_linklist_index(ls_base->list, val) != -1)) {
return false;
}
}