From 441d6aa4235075cb5089a1e60d416cbc0b744b58 Mon Sep 17 00:00:00 2001 From: Murray Stevenson <50844517+murraystevenson@users.noreply.github.com> Date: Wed, 11 Dec 2024 12:17:15 -0800 Subject: [PATCH] Examples : Fix default value of `renderPass:type` tweaks "beauty" was an early candidate for the original default before we settled on "" --- doc/examples/rendering/renderPassEditorArnold.gfr | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/examples/rendering/renderPassEditorArnold.gfr b/doc/examples/rendering/renderPassEditorArnold.gfr index 9114d0bc7b7..0ce851c7cc9 100644 --- a/doc/examples/rendering/renderPassEditorArnold.gfr +++ b/doc/examples/rendering/renderPassEditorArnold.gfr @@ -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" ) )