Fix T84370: Project tool not working with shape keys
A missing flush of the deformed PBVH coordinates to the shape key. Reviewed By: JacquesLucke Maniphest Tasks: T84370 Differential Revision: https://developer.blender.org/D10174
This commit is contained in:
parent
7bde2844ae
commit
1081eee4c5
@ -1465,6 +1465,12 @@ static void sculpt_gesture_project_apply_for_symmetry_pass(bContext *UNUSED(C),
|
||||
|
||||
static void sculpt_gesture_project_end(bContext *C, SculptGestureContext *sgcontext)
|
||||
{
|
||||
SculptSession *ss = sgcontext->ss;
|
||||
Sculpt *sd = CTX_data_tool_settings(C)->sculpt;
|
||||
if (ss->deform_modifiers_active || ss->shapekey_active) {
|
||||
SCULPT_flush_stroke_deform(sd, sgcontext->vc.obact, true);
|
||||
}
|
||||
|
||||
SCULPT_flush_update_step(C, SCULPT_UPDATE_COORDS);
|
||||
SCULPT_flush_update_done(C, sgcontext->vc.obact, SCULPT_UPDATE_COORDS);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user