Commit: 1e194722e51ee96a4a4e333d022a51a23475f4a9
Author: Joseph Eagar
Date: Sat Oct 16 02:26:48 2021 -0700
Branches: sculpt-dev
https://developer.blender.org/rB1e194722e51ee96a4a4e333d022a51a23475f4a9
Sculpt: fix missing NULL check for wire edges
===================================================================
M source/blender/editors/sculpt_paint/sculpt_smooth.c
===================================================================
diff --git a/source/blender/editors/sculpt_paint/sculpt_smooth.c
b/source/blender/editors/sculpt_paint/sculpt_smooth.c
index eefe545c5ba..921f4cdf8cb 100644
--- a/source/blender/editors/sculpt_paint/sculpt_smooth.c
+++ b/source/blender/editors/sculpt_paint/sculpt_smooth.c
@@ -128,6 +128,10 @@ void SCULPT_reproject_cdata(SculptSession *ss,
do {
e->head.api_flag &= ~tag;
+ if (!e->l) {
+ continue;
+ }
+
BMLoop *l = e->l;
do {
l->head.hflag &= ~tag;
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs