diff --git a/include/GafferCycles/CyclesLight.h b/include/GafferCycles/CyclesLight.h index b565020..600d5a3 100644 --- a/include/GafferCycles/CyclesLight.h +++ b/include/GafferCycles/CyclesLight.h @@ -61,7 +61,7 @@ class GAFFERCYCLES_API CyclesLight : public GafferScene::Light protected : void hashLight( const Gaffer::Context *context, IECore::MurmurHash &h ) const override; -#ifdef GAFFER_MAJOR_VERSION >= 56 +#ifdef GAFFER_MAJOR_VERSION > 55 IECoreScene::ConstShaderNetworkPtr computeLight( const Gaffer::Context *context ) const override; #else IECoreScene::ShaderNetworkPtr computeLight( const Gaffer::Context *context ) const override; diff --git a/src/GafferCycles/CyclesLight.cpp b/src/GafferCycles/CyclesLight.cpp index b2f4599..3a19d9b 100644 --- a/src/GafferCycles/CyclesLight.cpp +++ b/src/GafferCycles/CyclesLight.cpp @@ -102,7 +102,7 @@ void CyclesLight::hashLight( const Gaffer::Context *context, IECore::MurmurHash shaderNamePlug()->hash( h ); } -#ifdef GAFFER_MAJOR_VERSION >= 56 +#ifdef GAFFER_MAJOR_VERSION > 55 IECoreScene::ConstShaderNetworkPtr CyclesLight::computeLight( const Gaffer::Context *context ) const #else IECoreScene::ShaderNetworkPtr CyclesLight::computeLight( const Gaffer::Context *context ) const