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:
authorAntony Riakiotakis <kalast@gmail.com>2014-05-05 23:21:30 +0400
committerAntony Riakiotakis <kalast@gmail.com>2014-05-05 23:24:13 +0400
commit312d3edee51fd3756319f93369d649c707597325 (patch)
tree1abb325396cebab2cf88fbde9ffab8cdd6d38146 /source/blender/blenkernel/BKE_pbvh.h
parent90886048117966d673e0a2493a3eae7ed959f607 (diff)
Hidden PBVH nodes:
Set hidden when rebuilding the PBVH tree if all primitives are hidden.
Diffstat (limited to 'source/blender/blenkernel/BKE_pbvh.h')
-rw-r--r--source/blender/blenkernel/BKE_pbvh.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_pbvh.h b/source/blender/blenkernel/BKE_pbvh.h
index 304272d391d..c163054f681 100644
--- a/source/blender/blenkernel/BKE_pbvh.h
+++ b/source/blender/blenkernel/BKE_pbvh.h
@@ -128,6 +128,10 @@ void BKE_pbvh_bounding_box(const PBVH *bvh, float min[3], float max[3]);
/* multires hidden data, only valid for type == PBVH_GRIDS */
unsigned int **BKE_pbvh_grid_hidden(const PBVH *bvh);
+int BKE_pbvh_count_grid_quads(BLI_bitmap **grid_hidden,
+ int *grid_indices, int totgrid,
+ int gridsize);
+
/* multires level, only valid for type == PBVH_GRIDS */
void BKE_pbvh_get_grid_key(const PBVH *pbvh, struct CCGKey *key);