Cleanup: comment line length (editors)
Prevents clang-format wrapping text before comments.
This commit is contained in:
@@ -637,8 +637,9 @@ static BMEdge *bm_face_split_edge_find(
|
||||
ok = false;
|
||||
}
|
||||
else if (found_other_face) {
|
||||
/* double check that _all_ the faces used by v_pivot's edges are attached to this edge
|
||||
* otherwise don't attempt the split since it will give non-deterministic results */
|
||||
/* double check that _all_ the faces used by v_pivot's edges are attached
|
||||
* to this edge otherwise don't attempt the split since it will give
|
||||
* non-deterministic results */
|
||||
BMLoop *l_radial_iter = l_iter->radial_next;
|
||||
int other_face_shared = 0;
|
||||
if (l_radial_iter != l_iter) {
|
||||
@@ -786,7 +787,8 @@ static int edbm_face_split_by_edges_exec(bContext *C, wmOperator *UNUSED(op))
|
||||
dot_test = fabsf(dot_v3v3(e_dir, l->f->no));
|
||||
if (dot_test < dot_best) {
|
||||
|
||||
/* check we're in the correct corner (works with convex loops too) */
|
||||
/* check we're in the correct corner
|
||||
* (works with convex loops too) */
|
||||
if (angle_signed_on_axis_v3v3v3_v3(l->prev->v->co, l->v->co, v_other->co, l->f->no) <
|
||||
angle_signed_on_axis_v3v3v3_v3(l->prev->v->co, l->v->co, l->next->v->co, l->f->no))
|
||||
{
|
||||
@@ -881,8 +883,8 @@ static int edbm_face_split_by_edges_exec(bContext *C, wmOperator *UNUSED(op))
|
||||
|
||||
for (int j = 0; j < 2; j++) {
|
||||
BMVert *v_pivot = (&e->v1)[j];
|
||||
/* checking that \a v_pivot isn't in the face
|
||||
* prevents attempting to splice the same vertex into an edge from multiple faces */
|
||||
/* checking that \a v_pivot isn't in the face prevents attempting
|
||||
* to splice the same vertex into an edge from multiple faces */
|
||||
if (!BM_vert_in_face(v_pivot, f)) {
|
||||
float v_pivot_co[3];
|
||||
float v_pivot_fac;
|
||||
@@ -891,7 +893,8 @@ static int edbm_face_split_by_edges_exec(bContext *C, wmOperator *UNUSED(op))
|
||||
v_pivot_co, &v_pivot_fac);
|
||||
|
||||
if (e_split) {
|
||||
/* for degenerate cases this vertex may be in one of this edges radial faces */
|
||||
/* for degenerate cases this vertex may be in one
|
||||
* of this edges radial faces */
|
||||
if (!bm_vert_in_faces_radial(v_pivot, e_split, f)) {
|
||||
BMEdge *e_new;
|
||||
BMVert *v_new = BM_edge_split(bm, e_split, e_split->v1, &e_new, v_pivot_fac);
|
||||
|
||||
Reference in New Issue
Block a user