Cleanup: quiet warnings, typo

This commit is contained in:
Campbell Barton
2025-07-18 12:03:53 +10:00
parent 98dcd0c91e
commit 9d41b04aec
4 changed files with 10 additions and 1 deletions

View File

@@ -323,6 +323,12 @@ ccl_device float4 kernel_tex_image_interp_3d(
if (data_type == IMAGE_DATA_TYPE_NANOVDB_EMPTY) {
return zero_float4();
}
#else
(void)kg;
(void)id;
(void)P;
(void)interp;
(void)randu;
#endif
return make_float4(

View File

@@ -251,6 +251,7 @@ void VDBImageLoader::grid_from_dense_voxels(const size_t width,
(void)depth;
(void)channels;
(void)voxels;
(void)transform_3d;
#endif
}

View File

@@ -587,6 +587,8 @@ void Volume::merge_grids(const Scene *scene)
{
#ifdef WITH_OPENVDB
merge_scalar_grids_for_velocity(scene, this);
#else
(void)scene;
#endif
}

View File

@@ -579,7 +579,7 @@ class SocketTooltipBuilder {
return;
}
this->add_text_field_mono(TIP_("Field dependending on:"));
this->add_text_field_mono(TIP_("Field depending on:"));
for (const std::string &input_tooltip : input_tooltips) {
this->add_space();