diff options
author | Lukas Toenne <lukas.toenne@googlemail.com> | 2012-10-21 13:10:47 +0400 |
---|---|---|
committer | Lukas Toenne <lukas.toenne@googlemail.com> | 2012-10-21 13:10:47 +0400 |
commit | 285947318f8bc74080fdecf2a0fe143dbbdc69c6 (patch) | |
tree | 093ef0e45696abfa48aa9d3437de2a40014f96d1 /intern/cycles/kernel | |
parent | d57e130478b39d29a032e95431e231b388a79173 (diff) |
Fix for OSL closure base class. The 'blur' method is not implemented and must be declared pure virtual ('= 0') to avoid compiler error (on Ubuntu 12.04, gcc 4.6.3).
Diffstat (limited to 'intern/cycles/kernel')
-rw-r--r-- | intern/cycles/kernel/osl/osl_closures.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/kernel/osl/osl_closures.h b/intern/cycles/kernel/osl/osl_closures.h index 873e03673c3..574cb685db5 100644 --- a/intern/cycles/kernel/osl/osl_closures.h +++ b/intern/cycles/kernel/osl/osl_closures.h @@ -77,7 +77,7 @@ public: int shaderdata_flag() const { return m_shaderdata_flag; } ClosureType shaderclosure_type() const { return sc.type; } - virtual void blur(float roughness); + virtual void blur(float roughness) = 0; virtual float3 eval_reflect(const float3 &omega_out, const float3 &omega_in, float &pdf) const = 0; virtual float3 eval_transmit(const float3 &omega_out, const float3 &omega_in, float &pdf) const = 0; |