diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-05-31 13:50:15 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-05-31 18:17:03 +0300 |
commit | 151f69a5c214691de0665affcd8a49cecd6dd0aa (patch) | |
tree | 9ae399a893921e8ba0829657f211d9540e1332e2 /source/blender/blenkernel/BKE_paint.h | |
parent | 692891f69ea42af0ba890f5f92cbd1a3260442c9 (diff) |
Fix various missing updates in sculpt mode, when changing modifiers and dyntopo
This restores the code that updates the sculpt session and PBVH from dependency
graph evaluation.
Diffstat (limited to 'source/blender/blenkernel/BKE_paint.h')
-rw-r--r-- | source/blender/blenkernel/BKE_paint.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/source/blender/blenkernel/BKE_paint.h b/source/blender/blenkernel/BKE_paint.h index b92ce8a001f..cf9608e7c0f 100644 --- a/source/blender/blenkernel/BKE_paint.h +++ b/source/blender/blenkernel/BKE_paint.h @@ -292,12 +292,14 @@ void BKE_sculptsession_free_deformMats(struct SculptSession *ss); void BKE_sculptsession_free_vwpaint_data(struct SculptSession *ss); void BKE_sculptsession_bm_to_me(struct Object *ob, bool reorder); void BKE_sculptsession_bm_to_me_for_render(struct Object *object); -void BKE_sculpt_update_mesh_elements(struct Depsgraph *depsgraph, - struct Scene *scene, - struct Sculpt *sd, - struct Object *ob, - bool need_pmap, - bool need_mask); + +void BKE_sculpt_update_object_for_edit(struct Depsgraph *depsgraph, + struct Object *ob_orig, + bool need_pmap, + bool need_mask); +void BKE_sculpt_update_object_before_eval(struct Object *ob_eval); +void BKE_sculpt_update_object_after_eval(struct Depsgraph *depsgraph, struct Object *ob_eval); + struct MultiresModifierData *BKE_sculpt_multires_active(struct Scene *scene, struct Object *ob); int BKE_sculpt_mask_layers_ensure(struct Object *ob, struct MultiresModifierData *mmd); void BKE_sculpt_toolsettings_data_ensure(struct Scene *scene); |