Skip to content

Commit

Permalink
Examples : Fix default value of renderPass:type tweaks
Browse files Browse the repository at this point in the history
"beauty" was an early candidate for the original default before we settled on ""
  • Loading branch information
murraystevenson committed Dec 11, 2024
1 parent cf4251e commit 441d6aa
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 @@ -414,20 +414,20 @@ __children["RenderPassDefinitions"]["RenderPassOptionEdits"]["Spreadsheet"]["row
__children["RenderPassDefinitions"]["RenderPassOptionEdits"]["Spreadsheet"]["rows"].addColumn( Gaffer.TweakPlug( Gaffer.StringPlug( "value", defaultValue = '', ), "render:matteInclusions", ), adoptEnabledPlug = True )
__children["RenderPassDefinitions"]["RenderPassOptionEdits"]["Spreadsheet"]["rows"].addColumn( Gaffer.TweakPlug( Gaffer.StringPlug( "value", defaultValue = '/', ), "render:cameraInclusions", ), adoptEnabledPlug = True )
__children["RenderPassDefinitions"]["RenderPassOptionEdits"]["Spreadsheet"]["rows"].addColumn( Gaffer.TweakPlug( Gaffer.StringPlug( "value", defaultValue = '', ), "render:cameraExclusions", ), adoptEnabledPlug = True )
__children["RenderPassDefinitions"]["RenderPassOptionEdits"]["Spreadsheet"]["rows"].addColumn( Gaffer.TweakPlug( Gaffer.StringPlug( "value", defaultValue = 'beauty', ), "renderPass:type", ), adoptEnabledPlug = True )
__children["RenderPassDefinitions"]["RenderPassOptionEdits"]["Spreadsheet"]["rows"].addColumn( Gaffer.TweakPlug( Gaffer.StringPlug( "value", defaultValue = '', ), "renderPass:type", ), adoptEnabledPlug = True )
__children["RenderPassDefinitions"]["RenderPassOptionEdits"]["Spreadsheet"]["rows"].addRows( 8 )
__children["RenderPassDefinitions"]["RenderPassOptionEdits"].addChild( GafferScene.OptionTweaks( "OptionTweaks" ) )
__children["RenderPassDefinitions"]["RenderPassOptionEdits"]["OptionTweaks"]["tweaks"].addChild( Gaffer.TweakPlug( Gaffer.StringPlug( "value", defaultValue = '', ), "tweak", flags = Gaffer.Plug.Flags.Default | Gaffer.Plug.Flags.Dynamic, ) )
__children["RenderPassDefinitions"]["RenderPassOptionEdits"]["OptionTweaks"]["tweaks"].addChild( Gaffer.TweakPlug( Gaffer.StringPlug( "value", defaultValue = '', ), "tweak1", flags = Gaffer.Plug.Flags.Default | Gaffer.Plug.Flags.Dynamic, ) )
__children["RenderPassDefinitions"]["RenderPassOptionEdits"]["OptionTweaks"]["tweaks"].addChild( Gaffer.TweakPlug( Gaffer.StringPlug( "value", defaultValue = '/', ), "tweak2", flags = Gaffer.Plug.Flags.Default | Gaffer.Plug.Flags.Dynamic, ) )
__children["RenderPassDefinitions"]["RenderPassOptionEdits"]["OptionTweaks"]["tweaks"].addChild( Gaffer.TweakPlug( Gaffer.StringPlug( "value", defaultValue = '', ), "tweak3", flags = Gaffer.Plug.Flags.Default | Gaffer.Plug.Flags.Dynamic, ) )
__children["RenderPassDefinitions"]["RenderPassOptionEdits"]["OptionTweaks"]["tweaks"].addChild( Gaffer.TweakPlug( Gaffer.StringPlug( "value", defaultValue = 'beauty', ), "tweak4", flags = Gaffer.Plug.Flags.Default | Gaffer.Plug.Flags.Dynamic, ) )
__children["RenderPassDefinitions"]["RenderPassOptionEdits"]["OptionTweaks"]["tweaks"].addChild( Gaffer.TweakPlug( Gaffer.StringPlug( "value", defaultValue = '', ), "tweak4", flags = Gaffer.Plug.Flags.Default | Gaffer.Plug.Flags.Dynamic, ) )
__children["RenderPassDefinitions"]["RenderPassOptionEdits"].addChild( Gaffer.Spreadsheet.RowsPlug( "edits", ) )
__children["RenderPassDefinitions"]["RenderPassOptionEdits"]["edits"].addColumn( Gaffer.TweakPlug( Gaffer.StringPlug( "value", defaultValue = '', ), "render:exclusions", ), adoptEnabledPlug = True )
__children["RenderPassDefinitions"]["RenderPassOptionEdits"]["edits"].addColumn( Gaffer.TweakPlug( Gaffer.StringPlug( "value", defaultValue = '', ), "render:matteInclusions", ), adoptEnabledPlug = True )
__children["RenderPassDefinitions"]["RenderPassOptionEdits"]["edits"].addColumn( Gaffer.TweakPlug( Gaffer.StringPlug( "value", defaultValue = '/', ), "render:cameraInclusions", ), adoptEnabledPlug = True )
__children["RenderPassDefinitions"]["RenderPassOptionEdits"]["edits"].addColumn( Gaffer.TweakPlug( Gaffer.StringPlug( "value", defaultValue = '', ), "render:cameraExclusions", ), adoptEnabledPlug = True )
__children["RenderPassDefinitions"]["RenderPassOptionEdits"]["edits"].addColumn( Gaffer.TweakPlug( Gaffer.StringPlug( "value", defaultValue = 'beauty', ), "renderPass:type", ), adoptEnabledPlug = True )
__children["RenderPassDefinitions"]["RenderPassOptionEdits"]["edits"].addColumn( Gaffer.TweakPlug( Gaffer.StringPlug( "value", defaultValue = '', ), "renderPass:type", ), adoptEnabledPlug = True )
__children["RenderPassDefinitions"]["RenderPassOptionEdits"]["edits"].addRows( 8 )
__children["RenderPassDefinitions"]["RenderPassOptionEdits"].addChild( Gaffer.V2fPlug( "__uiPosition", defaultValue = imath.V2f( 0, 0 ), flags = Gaffer.Plug.Flags.Default | Gaffer.Plug.Flags.Dynamic, ) )
__children["RenderPassDefinitions"].addChild( GafferScene.RenderPasses( "RenderPasses" ) )
Expand Down

0 comments on commit 441d6aa

Please sign in to comment.