Fix: wrong conditional check in 'transform_mesh_edge_slide_data_create'

This commit is contained in:
Germano Cavalcante
2024-03-11 12:23:43 -03:00
parent fcfce8f69f
commit 976a8012d1

View File

@@ -2438,7 +2438,7 @@ Array<TransDataEdgeSlideVert> transform_mesh_edge_slide_data_create(const TransD
return 1;
}
if (e_prev && this->fdata[0].f || this->fdata[1].f) {
if (e_prev && (this->fdata[0].f || this->fdata[1].f)) {
/* Find the best direction checking the edges that share faces between them. */
int best_dir = -1;
const BMLoop *l_edge = l_src->next->v == v_dst ? l_src : l_src->prev;