Skip to content

Commit

Permalink
Merge pull request #396 from howetuft/hotfix
Browse files Browse the repository at this point in the history
Luxcore: fix spaces in output image name
  • Loading branch information
howetuft authored May 5, 2024
2 parents bb4d9fe + dcc4b50 commit 706081d
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Render/renderers/Luxcore.py
Original file line number Diff line number Diff line change
Expand Up @@ -739,13 +739,15 @@ def enclose_rpath(rpath):

# Outputs
config["film.outputs.0.type"] = "RGB_IMAGEPIPELINE"
config["film.outputs.0.filename"] = output
config["film.outputs.0.filename"] = '"' + output + '"'
config["film.outputs.0.index"] = "0"
if denoise:
config["film.outputs.1.type"] = "ALBEDO"
config["film.outputs.1.filename"] = output + "_ALBEDO.exr"
config["film.outputs.1.filename"] = '"' + output + '_ALBEDO.exr"'
config["film.outputs.2.type"] = "AVG_SHADING_NORMAL"
config["film.outputs.2.filename"] = output + "_AVG_SHADING_NORMAL.exr"
config["film.outputs.2.filename"] = (
'"' + output + '_AVG_SHADING_NORMAL.exr"'
)

cfg_path = export_section(config, project.Name, "cfg")

Expand Down

0 comments on commit 706081d

Please sign in to comment.