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).
This commit is contained in:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user