diff options
Diffstat (limited to 'intern/cycles/kernel/geom/point.h')
-rw-r--r-- | intern/cycles/kernel/geom/point.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/kernel/geom/point.h b/intern/cycles/kernel/geom/point.h index 6d46b934f09..52a1e77d71a 100644 --- a/intern/cycles/kernel/geom/point.h +++ b/intern/cycles/kernel/geom/point.h @@ -113,7 +113,7 @@ ccl_device float4 point_attribute_float4(KernelGlobals kg, ccl_device float point_radius(KernelGlobals kg, ccl_private const ShaderData *sd) { - if (sd->type & PRIMITIVE_ALL_POINT) { + if (sd->type & PRIMITIVE_POINT) { return kernel_tex_fetch(__points, sd->prim).w; } |