Skip to content

Commit

Permalink
fix: properly access multipass filename from render data (#47)
Browse files Browse the repository at this point in the history
Signed-off-by: Morgan Epp <[email protected]>
  • Loading branch information
epmog authored Jun 10, 2024
1 parent 3296a46 commit 6da82bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/deadline/cinema4d_submitter/scene.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def get_output_directories(render_data=None, take=None) -> set[str]:
xpath = os.path.join(doc_path, xpath)
image_paths.add(os.path.dirname(xpath))
if render_data[c4d.RDATA_MULTIPASS_SAVEIMAGE]:
path = render_data.GetFilename(c4d.RDATA_MULTIPASS_FILENAME)
path = render_data[c4d.RDATA_MULTIPASS_FILENAME]
xpath = c4d.modules.tokensystem.FilenameConvertTokens(path, rpd)
if not os.path.isabs(xpath):
xpath = os.path.join(doc_path, xpath)
Expand Down

0 comments on commit 6da82bf

Please sign in to comment.