diff options
Diffstat (limited to 'source/blender/blenkernel/intern/pbvh.c')
-rw-r--r-- | source/blender/blenkernel/intern/pbvh.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/pbvh.c b/source/blender/blenkernel/intern/pbvh.c index efe13fc8817..95e7218a920 100644 --- a/source/blender/blenkernel/intern/pbvh.c +++ b/source/blender/blenkernel/intern/pbvh.c @@ -2885,3 +2885,9 @@ void BKE_pbvh_parallel_range_settings(PBVHParallelSettings *settings, memset(settings, 0, sizeof(*settings)); settings->use_threading = use_threading && totnode > 1; } + +MVert *BKE_pbvh_get_verts(const PBVH *bvh) +{ + BLI_assert(bvh->type == PBVH_FACES); + return bvh->verts; +} |