diff --git a/startup/gui/outputs.py b/startup/gui/outputs.py index 7701cb70fc..a12a043a60 100644 --- a/startup/gui/outputs.py +++ b/startup/gui/outputs.py @@ -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" : @@ -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" } : @@ -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" @@ -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", @@ -398,7 +398,7 @@ def __registerOutputs( aovs, halfFloat = False, denoise = False ) : ) ) - if denoise: + if denoise : interactiveOutput["denoise"] = True batchOutput["denoise"] = True