diff options
author | Joseph Eagar <joeedh@gmail.com> | 2022-09-16 23:05:04 +0300 |
---|---|---|
committer | Joseph Eagar <joeedh@gmail.com> | 2022-09-16 23:05:04 +0300 |
commit | e108d67635a09bc450978a888469820f9a9b095a (patch) | |
tree | 5d7d9247712ab852f02916d32c51ca2fe15e683c /source/blender/editors | |
parent | 9c35a5a5241b6db465e07d9b7548a2d462c76d5e (diff) |
Sculpt: add .sculpt to allow_procedural_attribute_access
Also cleaned up a comment.
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/sculpt_paint/sculpt_ops.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/sculpt_ops.c b/source/blender/editors/sculpt_paint/sculpt_ops.c index 0731e54d533..52bfa61cd95 100644 --- a/source/blender/editors/sculpt_paint/sculpt_ops.c +++ b/source/blender/editors/sculpt_paint/sculpt_ops.c @@ -309,7 +309,10 @@ static void sculpt_init_session(Main *bmain, Depsgraph *depsgraph, Scene *scene, ob->sculpt = MEM_callocN(sizeof(SculptSession), "sculpt session"); ob->sculpt->mode_type = OB_MODE_SCULPT; - /* Necessary to make multires displacement immediately visible. */ + /* Trigger evaluation of modifier stack to ensure + * multires modifier sets .runtime.ccg in + * the evaluated mesh. + */ DEG_id_tag_update(&ob->id, ID_RECALC_GEOMETRY); BKE_scene_graph_evaluated_ensure(depsgraph, bmain); |