diff options
author | Jeroen Bakker <jeroen@blender.org> | 2020-10-07 14:49:14 +0300 |
---|---|---|
committer | Jeroen Bakker <jeroen@blender.org> | 2020-10-07 17:18:12 +0300 |
commit | 0796807720882731cdb70be144aa182e9b0b9ee5 (patch) | |
tree | 5063394eb04b828e5d7f18db3baa5e5753dea2a0 /source/blender/blenkernel/intern/volume.cc | |
parent | 13391038a5ce38835e1a7e9aa727f9c78f2e8dcd (diff) |
CleanUp: Introduce `eMeshBatchDirtyMode` enum
It used to be an `int mode`.
Diffstat (limited to 'source/blender/blenkernel/intern/volume.cc')
-rw-r--r-- | source/blender/blenkernel/intern/volume.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/volume.cc b/source/blender/blenkernel/intern/volume.cc index 6e7944f314e..7e895e0ba7a 100644 --- a/source/blender/blenkernel/intern/volume.cc +++ b/source/blender/blenkernel/intern/volume.cc @@ -999,10 +999,10 @@ void BKE_volume_grids_backup_restore(Volume *volume, VolumeGridVector *grids, co /* Draw Cache */ -void (*BKE_volume_batch_cache_dirty_tag_cb)(Volume *volume, int mode) = NULL; +void (*BKE_volume_batch_cache_dirty_tag_cb)(Volume *volume, eMeshBatchDirtyMode mode) = NULL; void (*BKE_volume_batch_cache_free_cb)(Volume *volume) = NULL; -void BKE_volume_batch_cache_dirty_tag(Volume *volume, int mode) +void BKE_volume_batch_cache_dirty_tag(Volume *volume, eMeshBatchDirtyMode mode) { if (volume->batch_cache) { BKE_volume_batch_cache_dirty_tag_cb(volume, mode); |