Merge pull request #3144 from pypeclub/bugfix/deadline-output-dir-issue

Deadline: fix the output directory
This commit is contained in:
Ondřej Samohel 2022-05-09 10:56:21 +02:00 committed by GitHub
commit 97a7b31cc2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -440,7 +440,10 @@ class MayaSubmitDeadline(pyblish.api.InstancePlugin):
output_filename_0 = filename_0
dirname = os.path.dirname(output_filename_0)
# this is needed because renderman handles directory and file
# prefixes separately
if self._instance.data["renderer"] == "renderman":
dirname = os.path.dirname(output_filename_0)
# Create render folder ----------------------------------------------
try: