diff options
author | Brecht Van Lommel <brecht@blender.org> | 2020-04-05 22:25:33 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2020-04-05 22:27:30 +0300 |
commit | 9d4300b0c60047b56f84f28650eb39cd35cf386b (patch) | |
tree | c33f66daf4388d72d3886cd1921cbc89d9876a29 /source/blender/blenkernel/BKE_volume.h | |
parent | bae1c243cec809ac783c1b8f2fb65a570b526ef0 (diff) |
Volumes: add volume.grids.frame_filepath to get the current frame filepath
This can be used by external renderers that can load OpenVDB files.
Diffstat (limited to 'source/blender/blenkernel/BKE_volume.h')
-rw-r--r-- | source/blender/blenkernel/BKE_volume.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_volume.h b/source/blender/blenkernel/BKE_volume.h index 3125ad0326e..224f3ede45d 100644 --- a/source/blender/blenkernel/BKE_volume.h +++ b/source/blender/blenkernel/BKE_volume.h @@ -85,6 +85,7 @@ bool BKE_volume_is_loaded(const struct Volume *volume); int BKE_volume_num_grids(const struct Volume *volume); const char *BKE_volume_grids_error_msg(const struct Volume *volume); +const char *BKE_volume_grids_frame_filepath(const struct Volume *volume); VolumeGrid *BKE_volume_grid_get(const struct Volume *volume, int grid_index); VolumeGrid *BKE_volume_grid_active_get(const struct Volume *volume); VolumeGrid *BKE_volume_grid_find(const struct Volume *volume, const char *name); |