Sculpt: fix missing NULL check
This commit is contained in:
parent
73eb2b426a
commit
fe03543e8d
|
@ -27,6 +27,7 @@ builtin_channel_categories = ["Cloth Tool",
|
|||
"Color",
|
||||
"Clay",
|
||||
"Pose Tool",
|
||||
"Smear",
|
||||
"Basic",
|
||||
"Smoothing",
|
||||
"Stroke",
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue