Skip to content

Commit

Permalink
Outputs config : Whitespace fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
murraystevenson committed Aug 22, 2024
1 parent e955da3 commit a66e341
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions startup/gui/outputs.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,11 +128,11 @@
data = "rgba"
elif aov in ( "depth", "deep_alpha" ) :
data = "float Z"
elif aov == "normal":
elif aov == "normal" :
data = "color N"
elif aov == "lpe" :
data = "lpe C.*"
else:
else :
data = "color " + aov

if aov == "motionvector" :
Expand All @@ -142,7 +142,7 @@
else :
parameters = {}

if aov == "depth":
if aov == "depth" :
parameters["layerName"] = "Z"

if aov not in { "motionvector", "emission", "background", "deep_alpha", "lpe" } :
Expand Down Expand Up @@ -365,7 +365,7 @@ def __registerOutputs( aovs, halfFloat = False, denoise = False ) :
"halfFloat" : halfFloat
}

if data == "lightgroup":
if data == "lightgroup" :
data = "lg lightgroup"
label = "Light_Group"

Expand All @@ -389,7 +389,7 @@ def __registerOutputs( aovs, halfFloat = False, denoise = False ) :
)

GafferScene.Outputs.registerOutput(
"Batch/Cycles/" + label,
"Batch/Cycles/" + label,
IECoreScene.Output(
"${project:rootDirectory}/renders/${script:name}/${renderPass}/%s/%s.####.exr" % ( aov, aov ),
"exr",
Expand All @@ -398,7 +398,7 @@ def __registerOutputs( aovs, halfFloat = False, denoise = False ) :
)
)

if denoise:
if denoise :
interactiveOutput["denoise"] = True
batchOutput["denoise"] = True

Expand Down

0 comments on commit a66e341

Please sign in to comment.