Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2019-03-07 17:27:31 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2019-03-07 18:09:15 +0300
commit967d82d9b9489aa9f08270a4fafc8415158690ea (patch)
tree561ee39d17833217c2cecffc73714d32e38e7b1b /source/blender/blenkernel/BKE_paint.h
parent594f2b80165d1fa750150d32f9c9dfd344b497e3 (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/blenkernel/BKE_paint.h')
-rw-r--r--source/blender/blenkernel/BKE_paint.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_paint.h b/source/blender/blenkernel/BKE_paint.h
index 25fb55011b2..cc445413f61 100644
--- a/source/blender/blenkernel/BKE_paint.h
+++ b/source/blender/blenkernel/BKE_paint.h
@@ -56,6 +56,7 @@ struct UnifiedPaintSettings;
struct ViewLayer;
struct bContext;
struct bToolRef;
+struct SubdivCCG;
enum eOverlayFlags;
@@ -287,6 +288,8 @@ void BKE_sculpt_toolsettings_data_ensure(struct Scene *scene);
struct PBVH *BKE_sculpt_object_pbvh_ensure(struct Depsgraph *depsgraph, struct Object *ob);
+void BKE_sculpt_bvh_update_from_ccg(struct PBVH *pbvh, struct SubdivCCG *subdiv_ccg);
+
enum {
SCULPT_MASK_LAYER_CALC_VERT = (1 << 0),
SCULPT_MASK_LAYER_CALC_LOOP = (1 << 1),