Fix T98214: UV selection crash with wire edges
Regression in ffaaa0bcbf
which removed the NULL pointer check.
This commit is contained in:
parent
35e73aa347
commit
c38187393a
|
@ -653,6 +653,9 @@ void uvedit_uv_select_shared_vert(const Scene *scene,
|
|||
e_first = e_iter = l->e;
|
||||
do {
|
||||
BMLoop *l_radial_iter = e_iter->l;
|
||||
if (!l_radial_iter) {
|
||||
continue; /* Skip wire edges with no loops. */
|
||||
}
|
||||
do {
|
||||
if (l_radial_iter->v == l->v) {
|
||||
if (uvedit_face_visible_test(scene, l_radial_iter->f)) {
|
||||
|
|
Loading…
Reference in New Issue