We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 524479f commit bb94632Copy full SHA for bb94632
src/IECoreGL/ShaderStateComponent.cpp
@@ -92,6 +92,10 @@ class ShaderStateComponent::Implementation : public IECore::RefCounted
92
93
void addParametersToShaderSetup( Shader::Setup *shaderSetup ) const
94
{
95
+ if( !m_parameterMap )
96
+ {
97
+ return;
98
+ }
99
const IECore::CompoundObject::ObjectMap &d = m_parameterMap->members();
100
for( IECore::CompoundObject::ObjectMap::const_iterator it = d.begin(), eIt = d.end(); it != eIt; it++ )
101
0 commit comments