[Bf-blender-cvs] [6ddd95f15a6] sculpt-dev: Sculpt: fix crash in pose face set fk

Joseph Eagar noreply at git.blender.org
Wed Oct 20 18:26:31 CEST 2021


Commit: 6ddd95f15a6af1c604a7c2916be0d6e27182de76
Author: Joseph Eagar
Date:   Wed Oct 20 09:26:13 2021 -0700
Branches: sculpt-dev
https://developer.blender.org/rB6ddd95f15a6af1c604a7c2916be0d6e27182de76

Sculpt: fix crash in pose face set fk

===================================================================

M	source/blender/editors/sculpt_paint/sculpt_pose.c

===================================================================

diff --git a/source/blender/editors/sculpt_paint/sculpt_pose.c b/source/blender/editors/sculpt_paint/sculpt_pose.c
index 7a7dc7067bf..91925034e3b 100644
--- a/source/blender/editors/sculpt_paint/sculpt_pose.c
+++ b/source/blender/editors/sculpt_paint/sculpt_pose.c
@@ -1056,6 +1056,8 @@ SculptPoseIKChain *SCULPT_pose_ik_chain_init(Sculpt *sd,
 
   const bool use_fake_neighbors = !(br->flag2 & BRUSH_USE_CONNECTED_ONLY);
 
+  SCULPT_boundary_info_ensure(ob);
+
   if (use_fake_neighbors) {
     SCULPT_fake_neighbors_ensure(sd, ob, br->disconnected_distance_max);
     SCULPT_fake_neighbors_enable(ob);



More information about the Bf-blender-cvs mailing list