diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-02-26 06:21:57 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-02-26 07:22:46 +0300 |
commit | 00a3d99f9342a2c22f7407776c6fa870bca3dbb0 (patch) | |
tree | e9c26c9a4d7a5f458fb06ed188716540cfef0698 /source/blender/blenkernel | |
parent | dc257318d0a372bfc9a7b34782ee1717467fef04 (diff) |
Cleanup: format, unused var
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/intern/pbvh.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/source/blender/blenkernel/intern/pbvh.c b/source/blender/blenkernel/intern/pbvh.c index 3be3adf0e8f..efe13fc8817 100644 --- a/source/blender/blenkernel/intern/pbvh.c +++ b/source/blender/blenkernel/intern/pbvh.c @@ -1428,12 +1428,10 @@ static void pbvh_grids_node_visibility_update(PBVH *bvh, PBVHNode *node) BKE_pbvh_node_fully_hidden_set(node, true); } -static void pbvh_bmesh_node_visibility_update(PBVH *bvh, PBVHNode *node) +static void pbvh_bmesh_node_visibility_update(PBVHNode *node) { - BMesh *bm; GSet *unique, *other; - bm = BKE_pbvh_get_bmesh(bvh); unique = BKE_pbvh_bmesh_node_unique_verts(node); other = BKE_pbvh_bmesh_node_other_verts(node); @@ -1475,7 +1473,7 @@ static void pbvh_update_visibility_task_cb(void *__restrict userdata, pbvh_grids_node_visibility_update(bvh, node); break; case PBVH_BMESH: - pbvh_bmesh_node_visibility_update(bvh, node); + pbvh_bmesh_node_visibility_update(node); break; } node->flag &= ~PBVH_UpdateMask; |