Sculpt: fix missing NULL check

This commit is contained in:
Joseph Eagar 2021-10-12 01:05:10 -07:00
parent 73eb2b426a
commit fe03543e8d
2 changed files with 5 additions and 0 deletions

View File

@ -27,6 +27,7 @@ builtin_channel_categories = ["Cloth Tool",
"Color",
"Clay",
"Pose Tool",
"Smear",
"Basic",
"Smoothing",
"Stroke",

View File

@ -3869,6 +3869,10 @@ static void pbvh_bmesh_collapse_edge(PBVH *pbvh,
do {
BMLoop *l2 = e2->l;
if (!l2) {
continue;
}
do {
BMLoop *l3 = l2->v != v ? l2->next : l2;