Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/modifiers/intern/MOD_volume_displace.cc')
-rw-r--r--source/blender/modifiers/intern/MOD_volume_displace.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/modifiers/intern/MOD_volume_displace.cc b/source/blender/modifiers/intern/MOD_volume_displace.cc
index d9b94d79348..f5a4b98a53e 100644
--- a/source/blender/modifiers/intern/MOD_volume_displace.cc
+++ b/source/blender/modifiers/intern/MOD_volume_displace.cc
@@ -213,7 +213,7 @@ struct DisplaceGridOp {
const float sample_radius = vdmd.texture_sample_radius * std::abs(vdmd.strength) /
max_voxel_side_length / 2.0f;
openvdb::tools::dilateActiveValues(temp_grid->tree(),
- static_cast<int>(std::ceil(sample_radius)),
+ int(std::ceil(sample_radius)),
openvdb::tools::NN_FACE_EDGE,
openvdb::tools::EXPAND_TILES);