Skip to content

Commit

Permalink
Merge pull request #5684 from murraystevenson/renderPassEditorArnoldE…
Browse files Browse the repository at this point in the history
…xampleFix

RenderPassEditor Arnold Example : Fix references to `${script:name}`
  • Loading branch information
johnhaddon authored Feb 21, 2024
2 parents 805f986 + dc8844c commit 8a542b0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/examples/rendering/renderPassEditorArnold.gfr
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@ Gaffer.Metadata.registerValue( parent["variables"]["projectRootDirectory"]["name
Gaffer.Metadata.registerValue( parent["variables"]["renderPass"]["name"], 'readOnly', True )
Gaffer.Metadata.registerValue( __children["ArnoldRender"]["user"]["StringPlug"], 'nodule:type', '' )
__children["ArnoldRender"]["in"].setInput( __children["BatchOutputs"]["out"] )
__children["ArnoldRender"]["fileName"].setValue( '${project:rootDirectory}/asses/${script:name}/${script:name}.####.ass' )
__children["ArnoldRender"]["fileName"].setValue( '${project:rootDirectory}/asses/examples/renderPassEditorArnold/renderPassEditorArnold.####.ass' )
__children["ArnoldRender"]["__uiPosition"].setValue( imath.V2f( 210.251862, -74.6419525 ) )
Gaffer.MetadataAlgo.setNumericBookmark( __children["Dot2"].scriptNode(), 1, __children["Dot2"] )
__children["Dot2"]["in"].setInput( __children["EditScope"]["out"] )
Expand All @@ -509,7 +509,7 @@ Gaffer.Metadata.registerValue( __children["Dot"]["in"], 'noduleLayout:section',
Gaffer.Metadata.registerValue( __children["Dot"]["out"], 'noduleLayout:section', 'bottom' )
__children["Dot"]["__uiPosition"].setValue( imath.V2f( 220.336197, -73.6419449 ) )
Gaffer.MetadataAlgo.setNumericBookmark( __children["Catalogue"].scriptNode(), 2, __children["Catalogue"] )
__children["Catalogue"]["directory"].setValue( '${project:rootDirectory}/catalogues/${script:name}' )
__children["Catalogue"]["directory"].setValue( '${project:rootDirectory}/catalogues/examples/renderPassEditorArnold' )
__children["Catalogue"]["__uiPosition"].setValue( imath.V2f( 252.701294, -81.7880096 ) )
__children["StandardOptions"]["in"].setInput( __children["RenderPassMembership"]["out_value"] )
__children["StandardOptions"]["options"]["renderCamera"]["value"].setValue( '/cameras/renderCamera' )
Expand All @@ -533,7 +533,7 @@ __children["RenderPassWedge"]["in"].setInput( __children["Dot"]["out"] )
__children["RenderPassWedge"]["__uiPosition"].setValue( imath.V2f( 212.451859, -82.806015 ) )
__children["BatchOutputs"]["in"].setInput( __children["Dot2"]["out"] )
__children["BatchOutputs"]["outputs"]["output1"]["name"].setValue( 'Batch/Beauty' )
__children["BatchOutputs"]["outputs"]["output1"]["fileName"].setValue( '${project:rootDirectory}/renders/${script:name}/${renderPass}/beauty/beauty.####.exr' )
__children["BatchOutputs"]["outputs"]["output1"]["fileName"].setValue( '${project:rootDirectory}/renders/examples/renderPassEditorArnold/${renderPass}/beauty/beauty.####.exr' )
__children["BatchOutputs"]["outputs"]["output1"]["type"].setValue( 'exr' )
__children["BatchOutputs"]["outputs"]["output1"]["data"].setValue( 'rgba' )
__children["BatchOutputs"]["__uiPosition"].setValue( imath.V2f( 212.451874, -62.2661972 ) )
Expand Down

0 comments on commit 8a542b0

Please sign in to comment.