Skip to content

Commit

Permalink
Merge pull request #24 from quadproduction/release/4.0.17
Browse files Browse the repository at this point in the history
Release/4.0.17
  • Loading branch information
BenSouchet authored Dec 19, 2024
2 parents 54a1172 + d920412 commit 93f0364
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -132,13 +132,15 @@ def process(self, instance):
mark_out = export_frames_without_offset[-1]

# Save to staging dir
output_dir = instance.data.get("stagingDir").replace("\\", "/")
output_dir = instance.data.get("stagingDir")
if not output_dir:
# Create temp folder if staging dir is not set
output_dir = (
tempfile.mkdtemp(prefix="tvpaint_render_")
).replace("\\", "/")
instance.data["stagingDir"] = output_dir
else:
output_dir = output_dir.replace("\\", "/")

self.log.debug(
"Files will be rendered to folder: {}".format(output_dir)
Expand Down
2 changes: 1 addition & 1 deletion src/quadpype/version.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# -*- coding: utf-8 -*-
"""File declaring QuadPype version."""
__version__ = "4.0.16"
__version__ = "4.0.17"

0 comments on commit 93f0364

Please sign in to comment.