diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-03-07 17:27:31 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-03-07 18:09:15 +0300 |
commit | 967d82d9b9489aa9f08270a4fafc8415158690ea (patch) | |
tree | 561ee39d17833217c2cecffc73714d32e38e7b1b /source/blender/draw | |
parent | 594f2b80165d1fa750150d32f9c9dfd344b497e3 (diff) |
Fix T62271: Particles with multires crash on sculpt
In fact, any modifier on top of multires would lead to crash.
Was missing pointer update.
Basically, bring the control flow closer to 2.7.
Diffstat (limited to 'source/blender/draw')
-rw-r--r-- | source/blender/draw/modes/sculpt_mode.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/draw/modes/sculpt_mode.c b/source/blender/draw/modes/sculpt_mode.c index 1a525f24349..a0ae5d0754a 100644 --- a/source/blender/draw/modes/sculpt_mode.c +++ b/source/blender/draw/modes/sculpt_mode.c @@ -164,6 +164,7 @@ static void sculpt_update_pbvh_normals(Object *object) if (pbvh == NULL || subdiv_ccg == NULL) { return; } + BKE_sculpt_bvh_update_from_ccg(pbvh, subdiv_ccg); struct CCGFace **faces; int num_faces; BKE_pbvh_get_grid_updates(pbvh, 1, (void ***)&faces, &num_faces); |