diff options
author | Campbell Barton <campbell@blender.org> | 2022-08-27 07:51:21 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-08-27 07:52:31 +0300 |
commit | 7459c0228ecd7f4cbdbd6094fa6540fc599ae674 (patch) | |
tree | b93342a31e262502e3ecd4195c46046c747c3bbb /source/blender/blenkernel/BKE_cachefile.h | |
parent | d41acc23e1624b1799407c7d8bb32fcc52681665 (diff) |
Cleanup: rename filename to filepath when used for full paths
Diffstat (limited to 'source/blender/blenkernel/BKE_cachefile.h')
-rw-r--r-- | source/blender/blenkernel/BKE_cachefile.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/source/blender/blenkernel/BKE_cachefile.h b/source/blender/blenkernel/BKE_cachefile.h index fd559abf7f2..43ad340103a 100644 --- a/source/blender/blenkernel/BKE_cachefile.h +++ b/source/blender/blenkernel/BKE_cachefile.h @@ -33,7 +33,7 @@ void BKE_cachefile_eval(struct Main *bmain, bool BKE_cachefile_filepath_get(const struct Main *bmain, const struct Depsgraph *depsgrah, const struct CacheFile *cache_file, - char r_filename[1024]); + char r_filepath[1024]); double BKE_cachefile_time_offset(const struct CacheFile *cache_file, double time, double fps); @@ -53,10 +53,12 @@ void BKE_cachefile_reader_free(struct CacheFile *cache_file, struct CacheReader bool BKE_cache_file_uses_render_procedural(const struct CacheFile *cache_file, struct Scene *scene); -/* Add a layer to the cache_file. Return NULL if the filename is already that of an existing layer - * or if the number of layers exceeds the maximum allowed layer count. */ +/** + * Add a layer to the cache_file. Return NULL if the `filepath` is already that of an existing + * layer or if the number of layers exceeds the maximum allowed layer count. + */ struct CacheFileLayer *BKE_cachefile_add_layer(struct CacheFile *cache_file, - const char filename[1024]); + const char filepath[1024]); struct CacheFileLayer *BKE_cachefile_get_active_layer(struct CacheFile *cache_file); |