Fix logical error selecting similar vertex crease

Changes from [0] meant the crease layer was never assigned
(would always be left at -1).

[0]: e5ec04d73c
This commit is contained in:
Campbell Barton
2023-06-14 12:18:58 +10:00
parent eb8d56328d
commit 9e8db89b43

View File

@@ -1029,8 +1029,6 @@ static int similar_vert_select_exec(bContext *C, wmOperator *op)
BLI_kdtree_1d_insert(tree_1d, tree_1d_index++, (float[1]){0.0f});
continue;
}
}
else if (type == SIMVERT_CREASE) {
cd_crease_offset = CustomData_get_offset_named(&bm->vdata, CD_PROP_FLOAT, "crease_vert");
}