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:
authorCampbell Barton <ideasman42@gmail.com>2016-05-11 18:39:33 +0300
committerCampbell Barton <ideasman42@gmail.com>2016-05-11 18:40:50 +0300
commit725a088ef9fce540069b19e9b1346c3d04056f8b (patch)
treedac50b9b248eab6f699ac1d5a3023b364308dc58 /source/blender/blenkernel/BKE_bvhutils.h
parent79d01de6b06223c769f41a898652100cfd4d8b67 (diff)
Correct check for tree being in BVH cache
Diffstat (limited to 'source/blender/blenkernel/BKE_bvhutils.h')
-rw-r--r--source/blender/blenkernel/BKE_bvhutils.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_bvhutils.h b/source/blender/blenkernel/BKE_bvhutils.h
index b74d653d01b..7bd3ca88076 100644
--- a/source/blender/blenkernel/BKE_bvhutils.h
+++ b/source/blender/blenkernel/BKE_bvhutils.h
@@ -184,6 +184,7 @@ enum {
typedef struct LinkNode BVHCache;
BVHTree *bvhcache_find(BVHCache *cache, int type);
+bool bvhcache_has_tree(const BVHCache *cache, const BVHTree *tree);
void bvhcache_insert(BVHCache **cache_p, BVHTree *tree, int type);
void bvhcache_init(BVHCache **cache_p);
void bvhcache_free(BVHCache **cache_p);