mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 05:42:15 +01:00
Set staging dir to what user has entered
This commit is contained in:
parent
d91ca5c1d4
commit
5ddc333999
1 changed files with 6 additions and 1 deletions
|
|
@ -17,9 +17,14 @@ class ExtractAlembic(colorbleed.api.Extractor):
|
|||
|
||||
# Get the filename from the filename parameter
|
||||
# `.eval()` will make sure all tokens are resolved
|
||||
file_name = os.path.basename(ropnode.parm("filename").eval())
|
||||
output = ropnode.parm("filename").eval()
|
||||
staging_dir = os.path.dirname(output)
|
||||
instance.data["stagingDir"] = staging_dir
|
||||
|
||||
file_name = os.path.basename(output)
|
||||
|
||||
# We run the render
|
||||
self.log.info("Writing alembic '%s' to '%s'" % (file_name, staging_dir))
|
||||
ropnode.render()
|
||||
|
||||
if "files" not in instance.data:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue