Skip to content

Commit

Permalink
Merge pull request #955 from BigRoy/enhancement/AY-6945_fix_single_fr…
Browse files Browse the repository at this point in the history
…ame_render_job_publish

Fix single frame publishing for publish job on farm (to Deadline from e.g. Maya)
  • Loading branch information
iLLiCiTiT authored Oct 16, 2024
2 parents 50cad97 + e23ca3f commit 3212b2f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions client/ayon_core/pipeline/farm/pyblish_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -788,15 +788,15 @@ def _create_instances_for_aov(instance, skeleton, aov_filter, additional_data,
colorspace = product.colorspace
break

if isinstance(files, (list, tuple)):
files = [os.path.basename(f) for f in files]
if isinstance(collected_files, (list, tuple)):
collected_files = [os.path.basename(f) for f in collected_files]
else:
files = os.path.basename(files)
collected_files = os.path.basename(collected_files)

rep = {
"name": ext,
"ext": ext,
"files": files,
"files": collected_files,
"frameStart": int(skeleton["frameStartHandle"]),
"frameEnd": int(skeleton["frameEndHandle"]),
# If expectedFile are absolute, we need only filenames
Expand Down

0 comments on commit 3212b2f

Please sign in to comment.