diff options
author | Kévin Dietrich <kevin.dietrich@mailoo.org> | 2021-03-07 23:02:46 +0300 |
---|---|---|
committer | Kévin Dietrich <kevin.dietrich@mailoo.org> | 2021-03-07 23:02:46 +0300 |
commit | 7800892bfc18505ef9344e519c14a6d76e40c3a1 (patch) | |
tree | 29ad7fcec7c9d9fe4e92859bc88640289b3792e7 /source/blender/blenkernel/BKE_cachefile.h | |
parent | 08c2bfe2b311eb3eb89eb0cdaa8c536d2e3c370c (diff) |
apply changes from code review branch
Diffstat (limited to 'source/blender/blenkernel/BKE_cachefile.h')
-rw-r--r-- | source/blender/blenkernel/BKE_cachefile.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/source/blender/blenkernel/BKE_cachefile.h b/source/blender/blenkernel/BKE_cachefile.h index f21ad6fcdc3..e0c1e526adc 100644 --- a/source/blender/blenkernel/BKE_cachefile.h +++ b/source/blender/blenkernel/BKE_cachefile.h @@ -60,7 +60,12 @@ void BKE_cachefile_reader_open(struct CacheFile *cache_file, const char *object_path); void BKE_cachefile_reader_free(struct CacheFile *cache_file, struct CacheReader **reader); -bool BKE_cache_file_use_proxies(struct Depsgraph *depsgraph, struct CacheFile *cache_file); +/* Determine whether the CacheFile should use proxies. If so, data is not read from the + * file and bouding boxes (the proxies) are used to represent the objects in the Scene. Render + * engines will receive the bounding box as a placeholder but can instead load the data directly + * if they support it. + */ +bool BKE_cache_file_use_proxies(struct CacheFile *cache_file, const int dag_eval_mode); #ifdef __cplusplus } |