forked from bartvdbraak/blender
Fix T44269: Typo in volume_attribute_float:geom_volume.h
Was rather harmless typo since we either pass both dx,dy or pass both NULL.
This commit is contained in:
parent
b06962fcfe
commit
ab2d05d958
@ -60,7 +60,7 @@ ccl_device float volume_attribute_float(KernelGlobals *kg, const ShaderData *sd,
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
if(dx) *dx = 0.0f;
|
if(dx) *dx = 0.0f;
|
||||||
if(dx) *dy = 0.0f;
|
if(dy) *dy = 0.0f;
|
||||||
|
|
||||||
/* todo: support float textures to lower memory usage for single floats */
|
/* todo: support float textures to lower memory usage for single floats */
|
||||||
return average(float4_to_float3(r));
|
return average(float4_to_float3(r));
|
||||||
|
Loading…
Reference in New Issue
Block a user