diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-09-18 18:09:08 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-09-18 18:09:08 +0300 |
commit | 9bf3e0299b18d65cf0da77a7a0a8a907055a3328 (patch) | |
tree | 7464274008c6a71b31bb14915c556ecd05cca9ae /source/blender/blenkernel/intern/paint.c | |
parent | 41c039d6e90d7182042ec5f22386b8cf941c187f (diff) |
Subdiv: CCG, initial grids stitching implementation
Currently is only working on an "inner" grid boundaries.
Need to implement averaging across face edges.
Diffstat (limited to 'source/blender/blenkernel/intern/paint.c')
-rw-r--r-- | source/blender/blenkernel/intern/paint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/paint.c b/source/blender/blenkernel/intern/paint.c index 926ef6a7a54..d843ae5173f 100644 --- a/source/blender/blenkernel/intern/paint.c +++ b/source/blender/blenkernel/intern/paint.c @@ -1197,7 +1197,7 @@ static PBVH *build_pbvh_from_ccg(Object *ob, SubdivCCG *subdiv_ccg) pbvh, subdiv_ccg->grids, subdiv_ccg->num_grids, &key, - NULL, + (void **)subdiv_ccg->grid_faces, subdiv_ccg->grid_flag_mats, subdiv_ccg->grid_hidden); pbvh_show_diffuse_color_set(pbvh, ob->sculpt->show_diffuse_color); |