Cleanup: quiet warnings, typo
This commit is contained in:
@@ -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(
|
||||
|
||||
@@ -251,6 +251,7 @@ void VDBImageLoader::grid_from_dense_voxels(const size_t width,
|
||||
(void)depth;
|
||||
(void)channels;
|
||||
(void)voxels;
|
||||
(void)transform_3d;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user