Skip to content

Commit bbbd3f5

Browse files
committed
We don't need to prefix OSL inputs with "param_" for Cycles.
1 parent 2bf952a commit bbbd3f5

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/GafferCycles/IECoreCyclesPreview/ShaderNetworkAlgo.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -433,10 +433,6 @@ ccl::ShaderNode *convertWalk( const ShaderNetwork::Parameter &outputParameter, c
433433
// We needed to change any "." found in the socket input names to
434434
// "__", revert that change here.
435435
string parameterName = boost::replace_first_copy( connection.destination.name.string(), "__", "." );
436-
if( isOSLShader )
437-
{
438-
parameterName = "param_" + connection.destination.name.string();
439-
}
440436

441437
InternedString sourceName = connection.source.name;
442438
const IECoreScene::Shader *sourceShader = shaderNetwork->getShader( connection.source.shader );

0 commit comments

Comments
 (0)