diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2020-09-08 21:17:20 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2020-09-08 21:18:10 +0300 |
commit | 0006f78cb6eec3f0c17d2b071f0648edf3c2cbb9 (patch) | |
tree | 6e97ef05c1153bc611b2760847316ac977449def /source/blender/blenkernel/intern/volume_render.cc | |
parent | 9eba40b848bec0ba3f537ad9cadaa94aef6d955c (diff) |
Revert "BKE: Fix compiling with clang-tidy and readability-non-const-parameter"
This reverts commit 637a5c964a01f5e8733e972cb8a30341eb91058e.
I commited the previous commit because I wasn't building with openvdb.
Compiling with openvdb fix the clang-tidy errror.
Diffstat (limited to 'source/blender/blenkernel/intern/volume_render.cc')
-rw-r--r-- | source/blender/blenkernel/intern/volume_render.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/volume_render.cc b/source/blender/blenkernel/intern/volume_render.cc index ab9242ad24a..98d3617c822 100644 --- a/source/blender/blenkernel/intern/volume_render.cc +++ b/source/blender/blenkernel/intern/volume_render.cc @@ -94,7 +94,7 @@ void BKE_volume_grid_dense_voxels(const Volume *volume, VolumeGrid *volume_grid, const int64_t min[3], const int64_t max[3], - const float *voxels) + float *voxels) { #ifdef WITH_OPENVDB openvdb::GridBase::ConstPtr grid = BKE_volume_grid_openvdb_for_read(volume, volume_grid); |