[Bf-blender-cvs] [89d56ea225b] temp_bmesh_multires: fix missing null pointer check.
Joseph Eagar
noreply at git.blender.org
Sat May 15 06:12:40 CEST 2021
Commit: 89d56ea225bb17580af753d45f2d9fbd373ec0b6
Author: Joseph Eagar
Date: Fri May 14 21:12:23 2021 -0700
Branches: temp_bmesh_multires
https://developer.blender.org/rB89d56ea225bb17580af753d45f2d9fbd373ec0b6
fix missing null pointer check.
===================================================================
M source/blender/editors/sculpt_paint/sculpt.c
===================================================================
diff --git a/source/blender/editors/sculpt_paint/sculpt.c b/source/blender/editors/sculpt_paint/sculpt.c
index 0694a9d5b42..e61ba7d0133 100644
--- a/source/blender/editors/sculpt_paint/sculpt.c
+++ b/source/blender/editors/sculpt_paint/sculpt.c
@@ -1281,6 +1281,11 @@ static void sculpt_vertex_neighbors_get_bmesh(SculptSession *ss,
#if 1
BMEdge *e = v->e;
+
+ if (!v->e) {
+ return;
+ }
+
do {
if (v == e->v1) {
sculpt_vertex_neighbor_add_nocheck(
More information about the Bf-blender-cvs
mailing list